Multiarray API size mismatch 301 302?

Aug. 13, 2015
11:34 a.m.
Hey, just for hacking/testing, I tried to add to shape.c: /*NUMPY_API * * Checks if memory overlap exists */ NPY_NO_EXPORT int PyArray_ArraysShareMemory(PyArrayObject *arr1, PyArrayObject *arr2, int work) { return solve_may_share_memory(arr1, arr2, work); } and to numpy_api.py: # End 1.10 API 'PyArray_ArraysShareMemory': (301,), But I am getting the error: File "numpy/core/code_generators/generate_numpy_api.py", line 230, in do_generate_api (len(multiarray_api_dict), len(multiarray_api_index))) AssertionError: Multiarray API size mismatch 301 302 It is puzzling me, so anyone got a quick idea? - Sebastian
3503
Age (days ago)
3503
Last active (days ago)
3 comments
2 participants
participants (2)
-
Benjamin Root
-
Sebastian Berg