summaryrefslogtreecommitdiff
path: root/numpy/numarray
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/numarray
parentdc81482f4ab7ffbc8102197ac45e559c7a6545d6 (diff)
downloadnumpy-a2ed62a5f42459a14c233cef35f07a032c9ca36c.tar.gz
ENH: core: Rename PyArray_SetBase to PyArray_SetBaseObject to be more clear
Diffstat (limited to 'numpy/numarray')
-rw-r--r--numpy/numarray/_capi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/numarray/_capi.c b/numpy/numarray/_capi.c
index 8d37dec16..deb2cd478 100644
--- a/numpy/numarray/_capi.c
+++ b/numpy/numarray/_capi.c
@@ -1098,7 +1098,7 @@ NA_OutputArray(PyObject *a, NumarrayType t, int requires)
PyArray_DIMS((PyArrayObject *)a),
dtype, 0);
Py_INCREF(a);
- if (PyArray_SetBase(ret, a) < 0) {
+ if (PyArray_SetBaseObject(ret, a) < 0) {
Py_DECREF(ret);
return NULL;
}