[Numpy-svn] r3190 - trunk/numpy/oldnumeric

numpy-svn at scipy.org numpy-svn at scipy.org
Tue Sep 19 12:29:36 CDT 2006


Author: rkern
Date: 2006-09-19 12:29:34 -0500 (Tue, 19 Sep 2006)
New Revision: 3190

Modified:
   trunk/numpy/oldnumeric/functions.py
Log:
oldnumeric.argmin should use numpy.argmin

Modified: trunk/numpy/oldnumeric/functions.py
===================================================================
--- trunk/numpy/oldnumeric/functions.py	2006-09-19 16:56:07 UTC (rev 3189)
+++ trunk/numpy/oldnumeric/functions.py	2006-09-19 17:29:34 UTC (rev 3190)
@@ -40,7 +40,7 @@
     return N.argmax(x, axis)
 
 def argmin(x, axis=-1):
-    return N.argmax(x, axis)
+    return N.argmin(x, axis)
 
 def compress(condition, m, axis=-1):
     return N.compress(condition, m, axis)



More information about the Numpy-svn mailing list