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

numpy-svn at scipy.org numpy-svn at scipy.org
Fri Aug 4 21:01:28 CDT 2006


Author: oliphant
Date: 2006-08-04 21:01:26 -0500 (Fri, 04 Aug 2006)
New Revision: 2960

Modified:
   trunk/numpy/core/fromnumeric.py
Log:
Final fixes to oldnumeric

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



More information about the Numpy-svn mailing list