We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4b50e3 commit 1fcb3deCopy full SHA for 1fcb3de
faiss/python/swigfaiss.swig
@@ -1022,18 +1022,10 @@ PyObject *swig_ptr (PyObject *a)
1022
return SWIG_NewPointerObj(data, SWIGTYPE_p_bool, 0);
1023
}
1024
if(PyArray_TYPE(ao) == NPY_UINT64) {
1025
-#ifdef SWIGWORDSIZE64
1026
return SWIG_NewPointerObj(data, SWIGTYPE_p_unsigned_long, 0);
1027
-#else
1028
- return SWIG_NewPointerObj(data, SWIGTYPE_p_unsigned_long_long, 0);
1029
-#endif
1030
1031
if(PyArray_TYPE(ao) == NPY_INT64) {
1032
1033
return SWIG_NewPointerObj(data, SWIGTYPE_p_long, 0);
1034
1035
- return SWIG_NewPointerObj(data, SWIGTYPE_p_long_long, 0);
1036
1037
1038
PyErr_SetString(PyExc_ValueError, "did not recognize array type");
1039
return NULL;
0 commit comments