summaryrefslogtreecommitdiff
path: root/numpy/oldnumeric/functions.py
diff options
context:
space:
mode:
authorRobert Kern <robert.kern@gmail.com>2006-09-19 17:29:34 +0000
committerRobert Kern <robert.kern@gmail.com>2006-09-19 17:29:34 +0000
commitee7a0be0eac7b3e02219ea6a56d2885cb8524ca8 (patch)
treee0a3d9e0f088f1d4e6a01e87a85e8ad66ffefbfa /numpy/oldnumeric/functions.py
parent2d9f62812237eba33a462630929d6f6ebbd29895 (diff)
downloadnumpy-ee7a0be0eac7b3e02219ea6a56d2885cb8524ca8.tar.gz
oldnumeric.argmin should use numpy.argmin
Diffstat (limited to 'numpy/oldnumeric/functions.py')
-rw-r--r--numpy/oldnumeric/functions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/oldnumeric/functions.py b/numpy/oldnumeric/functions.py
index 475802c88..e295c11bd 100644
--- a/numpy/oldnumeric/functions.py
+++ b/numpy/oldnumeric/functions.py
@@ -40,7 +40,7 @@ def argmax(x, axis=-1):
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)