Skip to content

Commit

Permalink
BUGFIX Numpy intp type for latest numpy
Browse files Browse the repository at this point in the history
  • Loading branch information
mcfletch committed Jul 1, 2024
1 parent d65033d commit f897b0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion accelerate/src/numpy_formathandler.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ cdef extern from "numpy/arrayobject.h":
int NPY_ARRAY_FORCECAST
int PyArray_ISCARRAY( np.ndarray instance )
int PyArray_ISCARRAY_RO( np.ndarray instance )
cdef np.ndarray PyArray_Zeros(int nd, np.Py_intptr_t* dims, np.dtype, int fortran)
cdef np.ndarray PyArray_Zeros(int nd, np.npy_intp* dims, np.dtype, int fortran)
cdef np.ndarray PyArray_EnsureArray(object)
cdef int PyArray_FillWithScalar(object, object)
cdef void import_array()
Expand Down

0 comments on commit f897b0e

Please sign in to comment.