From a2ed62a5f42459a14c233cef35f07a032c9ca36c Mon Sep 17 00:00:00 2001 From: Mark Wiebe Date: Fri, 22 Jul 2011 15:40:28 -0500 Subject: ENH: core: Rename PyArray_SetBase to PyArray_SetBaseObject to be more clear --- numpy/numarray/_capi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/numarray/_capi.c') 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; } -- cgit v1.2.1