This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local log = require("codecompanion.utils.log") | |
local M = { | |
name = "code_edit", | |
} | |
M.system_prompt = function() | |
return [=[ | |
## Code Editing Tool(`code_edit`) - Usages |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/scipy/cluster/_vq_rewrite.pyx b/scipy/cluster/_vq_rewrite.pyx | |
index d9fe201..29318af 100644 | |
--- a/scipy/cluster/_vq_rewrite.pyx | |
+++ b/scipy/cluster/_vq_rewrite.pyx | |
@@ -9,6 +9,8 @@ Translated to Cython by David Warde-Farley, October 2009. | |
import numpy as np | |
cimport numpy as np | |
+from cpython.mem cimport PyMem_Malloc, PyMem_Free | |
+from libc.string cimport memset |