summaryrefslogtreecommitdiff
path: root/numpy/lib/src/_compiled_base.c
diff options
context:
space:
mode:
authorMark Wiebe <mwiebe@enthought.com>2011-07-22 15:40:28 -0500
committerMark Wiebe <mwiebe@enthought.com>2011-07-22 15:40:28 -0500
commita2ed62a5f42459a14c233cef35f07a032c9ca36c (patch)
tree9e66e8ec34205dd356aacc535c775d988dcd6cb5 /numpy/lib/src/_compiled_base.c
parentdc81482f4ab7ffbc8102197ac45e559c7a6545d6 (diff)
downloadnumpy-a2ed62a5f42459a14c233cef35f07a032c9ca36c.tar.gz
ENH: core: Rename PyArray_SetBase to PyArray_SetBaseObject to be more clear
Diffstat (limited to 'numpy/lib/src/_compiled_base.c')
-rw-r--r--numpy/lib/src/_compiled_base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/src/_compiled_base.c b/numpy/lib/src/_compiled_base.c
index c1458429f..ea7205a8a 100644
--- a/numpy/lib/src/_compiled_base.c
+++ b/numpy/lib/src/_compiled_base.c
@@ -1051,7 +1051,7 @@ arr_unravel_index(PyObject *self, PyObject *args, PyObject *kwds)
goto fail;
}
Py_INCREF(ret_arr);
- if (PyArray_SetBase(view, (PyObject *)ret_arr) < 0) {
+ if (PyArray_SetBaseObject(view, (PyObject *)ret_arr) < 0) {
Py_DECREF(view);
goto fail;
}