diff options
author | Travis Oliphant <oliphant@enthought.com> | 2006-01-19 01:10:26 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2006-01-19 01:10:26 +0000 |
commit | 044fa497f3c89b48134e00455dd3035a49aa7fdf (patch) | |
tree | 0843bb5fee4ac5f92fd8dc627aed772b67707878 /numpy/lib/src | |
parent | ac121be4bfd3775c568bfc59463dc43ceb99e2f6 (diff) | |
download | numpy-044fa497f3c89b48134e00455dd3035a49aa7fdf.tar.gz |
Fixed up PyArray_FromAny and friends for API --- recompile extensions...
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); |