From c261b1f8fc16a0001d90fd3e024d2fd13f28ade1 Mon Sep 17 00:00:00 2001 From: Travis Oliphant Date: Thu, 10 Aug 2006 13:33:45 +0000 Subject: More fixes to masked array support of output arrays. --- numpy/core/fromnumeric.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'numpy/core/fromnumeric.py') diff --git a/numpy/core/fromnumeric.py b/numpy/core/fromnumeric.py index 94d491c95..6dacdbf52 100644 --- a/numpy/core/fromnumeric.py +++ b/numpy/core/fromnumeric.py @@ -374,19 +374,19 @@ def amax(a, axis=None, out=None): """Return the maximum of 'a' along dimension axis. """ try: - max = a.max + amax = a.max except AttributeError: return _wrapit(a, 'max', axis, out) - return max(axis, out) + return amax(axis, out) def amin(a, axis=None, out=None): """Return the minimum of a along dimension axis. """ try: - min = a.min + amin = a.min except AttributeError: return _wrapit(a, 'min', axis, out) - return min(axis, out) + return amin(axis, out) def alen(a): """Return the length of a Python object interpreted as an array -- cgit v1.2.1