diff options
author | Travis Oliphant <oliphant@enthought.com> | 2006-08-05 02:01:26 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2006-08-05 02:01:26 +0000 |
commit | 50c0c443d4a6aef02460052090daf5470b13ee7c (patch) | |
tree | f33c2e40c9841c7c9bea33aca75c3397736cd9a3 /numpy/core/fromnumeric.py | |
parent | 87cb586ef026ce7d0bfc7c776c91843d23c1d806 (diff) | |
download | numpy-50c0c443d4a6aef02460052090daf5470b13ee7c.tar.gz |
Final fixes to oldnumeric
Diffstat (limited to 'numpy/core/fromnumeric.py')
-rw-r--r-- | numpy/core/fromnumeric.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/fromnumeric.py b/numpy/core/fromnumeric.py index 98291f411..689bc2eff 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 + return res[0] def shape(a): |