diff options
author | Mark Wiebe <mwiebe@enthought.com> | 2011-07-22 15:40:28 -0500 |
---|---|---|
committer | Mark Wiebe <mwiebe@enthought.com> | 2011-07-22 15:40:28 -0500 |
commit | a2ed62a5f42459a14c233cef35f07a032c9ca36c (patch) | |
tree | 9e66e8ec34205dd356aacc535c775d988dcd6cb5 /numpy/lib | |
parent | dc81482f4ab7ffbc8102197ac45e559c7a6545d6 (diff) | |
download | numpy-a2ed62a5f42459a14c233cef35f07a032c9ca36c.tar.gz |
ENH: core: Rename PyArray_SetBase to PyArray_SetBaseObject to be more clear
Diffstat (limited to 'numpy/lib')
-rw-r--r-- | numpy/lib/src/_compiled_base.c | 2 |
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; } |