diff options
Diffstat (limited to 'numpy/lib/src')
-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 e54c3c6d8..797fc7a1f 100644 --- a/numpy/lib/src/_compiled_base.c +++ b/numpy/lib/src/_compiled_base.c @@ -165,8 +165,8 @@ arr_digitize(PyObject *self, PyObject *args, PyObject *kwds) &ox, &obins)); type = PyArray_DescrFromType(PyArray_DOUBLE); - Py_Try(ax=PyArray_FromAny(ox, type, 1, 1, CARRAY_FLAGS)); - Py_Try(abins = PyArray_FromAny(obins, type, 1, 1, CARRAY_FLAGS)); + Py_Try(ax=PyArray_FromAny(ox, type, 1, 1, CARRAY_FLAGS, NULL)); + Py_Try(abins = PyArray_FromAny(obins, type, 1, 1, CARRAY_FLAGS, NULL)); lx = PyArray_SIZE(ax); dx = (double *)PyArray_DATA(ax); |