summaryrefslogtreecommitdiff
path: root/numpy/core/src/arraymethods.c
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-04-12 22:49:00 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-04-12 22:49:00 +0000
commitec554d0caee4fb34122533eb630e7130e5568db3 (patch)
tree0d5c417ef355aaf07da68aa66c324f8e82d24f20 /numpy/core/src/arraymethods.c
parent5534a9987fa9b916a4c035220a3fb488bd315753 (diff)
downloadnumpy-ec554d0caee4fb34122533eb630e7130e5568db3.tar.gz
Fixed where to always return a tuple
Diffstat (limited to 'numpy/core/src/arraymethods.c')
-rw-r--r--numpy/core/src/arraymethods.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/src/arraymethods.c b/numpy/core/src/arraymethods.c
index cf4a7faae..3af56f39d 100644
--- a/numpy/core/src/arraymethods.c
+++ b/numpy/core/src/arraymethods.c
@@ -1382,7 +1382,7 @@ array_nonzero(PyArrayObject *self, PyObject *args)
{
if (!PyArg_ParseTuple(args, "")) return NULL;
- return _ARET(PyArray_Nonzero(self));
+ return PyArray_Nonzero(self);
}