diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2023-01-11 21:24:48 -0800 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2023-01-11 21:25:23 -0800 |
commit | c5c128b186be0150e2d4885d9dde759fc93b25c9 (patch) | |
tree | cf59959ddf6923cd98a71fde122f60eef9b033eb /math/py-annoy/files/patch-src_annoymodule.cc | |
parent | math/annoy: New port: Approximate Nearest Neighbors in C++ (diff) |
math/py-annoy: New port: Approximate Nearest Neighbors in C++
Diffstat (limited to 'math/py-annoy/files/patch-src_annoymodule.cc')
-rw-r--r-- | math/py-annoy/files/patch-src_annoymodule.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/math/py-annoy/files/patch-src_annoymodule.cc b/math/py-annoy/files/patch-src_annoymodule.cc new file mode 100644 index 000000000000..6c0be8088fde --- /dev/null +++ b/math/py-annoy/files/patch-src_annoymodule.cc @@ -0,0 +1,11 @@ +--- src/annoymodule.cc.orig 2023-01-12 04:57:07 UTC ++++ src/annoymodule.cc +@@ -179,7 +179,7 @@ py_an_init(py_annoy *self, PyObject *args, PyObject *k + int f; + static char const * kwlist[] = {"f", "metric", NULL}; + if (!PyArg_ParseTupleAndKeywords(args, kwargs, "i|s", (char**)kwlist, &f, &metric)) +- return (int) NULL; ++ return 0; + return 0; + } + |