[Numpy-discussion] Multiarray API size mismatch 301 302?

Benjamin Root ben.root at ou.edu
Thu Aug 13 14:36:31 EDT 2015


Did you do a "git clean -fxd" before re-installing?

On Thu, Aug 13, 2015 at 2:34 PM, Sebastian Berg <sebastian at sipsolutions.net>
wrote:

> 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
>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20150813/e9960d34/attachment.html>


More information about the NumPy-Discussion mailing list