From ec554d0caee4fb34122533eb630e7130e5568db3 Mon Sep 17 00:00:00 2001 From: Travis Oliphant Date: Wed, 12 Apr 2006 22:49:00 +0000 Subject: Fixed where to always return a tuple --- numpy/core/src/arraymethods.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/core/src/arraymethods.c') 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); } -- cgit v1.2.1