diff options
Diffstat (limited to 'numpy/lib')
-rw-r--r-- | numpy/lib/src/_compiled_base.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/lib/src/_compiled_base.c b/numpy/lib/src/_compiled_base.c index 536b048f5..82343fc35 100644 --- a/numpy/lib/src/_compiled_base.c +++ b/numpy/lib/src/_compiled_base.c @@ -1,7 +1,7 @@ #define NPY_NO_DEPRECATED_API #include "Python.h" #include "structmember.h" -#include "numpy/noprefix.h" +#include "numpy/arrayobject.h" #include "numpy/npy_3kcompat.h" #include "npy_config.h" #include "numpy/ufuncobject.h" @@ -1378,7 +1378,7 @@ pack_or_unpack_bits(PyObject *input, int axis, int unpack) PyArrayObject *inp; PyArrayObject *new = NULL; PyArrayObject *out = NULL; - npy_intp outdims[MAX_DIMS]; + npy_intp outdims[NPY_MAXDIMS]; int i; void (*thefunc)(void *, int, npy_intp, npy_intp, void *, npy_intp, npy_intp); PyArrayIterObject *it, *ot; |