summaryrefslogtreecommitdiff
path: root/numpy/core/fromnumeric.py
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-08-05 02:04:29 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-08-05 02:04:29 +0000
commitd6eb562b8d4b37be1f2c6743bae5ea520703da64 (patch)
tree61d6eea58bb428589dd80d0c9f585bd0b61e4c3d /numpy/core/fromnumeric.py
parent50c0c443d4a6aef02460052090daf5470b13ee7c (diff)
downloadnumpy-d6eb562b8d4b37be1f2c6743bae5ea520703da64.tar.gz
Redo nonzero change --- head for the hills...
Diffstat (limited to 'numpy/core/fromnumeric.py')
-rw-r--r--numpy/core/fromnumeric.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/fromnumeric.py b/numpy/core/fromnumeric.py
index 689bc2eff..98291f411 100644
--- a/numpy/core/fromnumeric.py
+++ b/numpy/core/fromnumeric.py
@@ -239,7 +239,7 @@ def nonzero(a):
res = _wrapit(a, 'nonzero')
else:
res = nonzero()
- return res[0]
+ return res
def shape(a):