Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:mslacken:ml
faiss_bug
fix-swig-on-obs.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-swig-on-obs.patch of Package faiss_bug
From 62f6d680b16e96215ec1f92b94cd8f9cf64121cb Mon Sep 17 00:00:00 2001 From: Christian Goll <Christian.Goll@gmail.com> Date: Tue, 23 Apr 2024 17:01:53 +0200 Subject: [PATCH] fix swig on obs Signed-off-by: Christian Goll <Christian.Goll@gmail.com> --- faiss/python/swigfaiss.swig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/faiss/python/swigfaiss.swig b/faiss/python/swigfaiss.swig index fb7f50dd..ab1a862f 100644 --- a/faiss/python/swigfaiss.swig +++ b/faiss/python/swigfaiss.swig @@ -1025,14 +1025,14 @@ PyObject *swig_ptr (PyObject *a) #ifdef SWIGWORDSIZE64 return SWIG_NewPointerObj(data, SWIGTYPE_p_unsigned_long, 0); #else - return SWIG_NewPointerObj(data, SWIGTYPE_p_unsigned_long_long, 0); + return SWIG_NewPointerObj(data, SWIGTYPE_p_unsigned_long, 0); #endif } if(PyArray_TYPE(ao) == NPY_INT64) { #ifdef SWIGWORDSIZE64 return SWIG_NewPointerObj(data, SWIGTYPE_p_long, 0); #else - return SWIG_NewPointerObj(data, SWIGTYPE_p_long_long, 0); + return SWIG_NewPointerObj(data, SWIGTYPE_p_long, 0); #endif } PyErr_SetString(PyExc_ValueError, "did not recognize array type"); -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor