[Numpy-svn] r2961 - trunk/numpy/core

numpy-svn at scipy.org numpy-svn at scipy.org
Fri Aug 4 22:04:32 EDT 2006


Author: oliphant
Date: 2006-08-04 21:04:29 -0500 (Fri, 04 Aug 2006)
New Revision: 2961

Modified:
   trunk/numpy/core/fromnumeric.py
Log:
Redo nonzero change --- head for the hills...

Modified: trunk/numpy/core/fromnumeric.py
===================================================================
--- trunk/numpy/core/fromnumeric.py	2006-08-05 02:01:26 UTC (rev 2960)
+++ trunk/numpy/core/fromnumeric.py	2006-08-05 02:04:29 UTC (rev 2961)
@@ -239,7 +239,7 @@
         res = _wrapit(a, 'nonzero')
     else:
         res = nonzero()
-    return res[0]
+    return res
     
 
 def shape(a):




More information about the Numpy-svn mailing list