From 07628857fab36890bd2755ed52785f3493d64bb8 Mon Sep 17 00:00:00 2001 From: Travis Oliphant Date: Tue, 1 Apr 2008 17:03:17 +0000 Subject: Fix-up a few errors in oldnumeric. --- numpy/oldnumeric/ma.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'numpy/oldnumeric') diff --git a/numpy/oldnumeric/ma.py b/numpy/oldnumeric/ma.py index 8bfef575b..0c259f090 100644 --- a/numpy/oldnumeric/ma.py +++ b/numpy/oldnumeric/ma.py @@ -2201,7 +2201,7 @@ def _min(a, axis=None, out=None): return minimum.reduce(a, axis) array.min = _m(_min) del _min -array.mean = _m(average) +array.mean = _m(new_average) array.nbytes = property(_m(not_implemented)) array.newbyteorder = _m(not_implemented) array.nonzero = _m(nonzero) @@ -2210,7 +2210,7 @@ array.prod = _m(product) def _ptp(a,axis=None,out=None): return a.max(axis,out)-a.min(axis) array.ptp = _m(_ptp) -array.repeat = _m(repeat) +array.repeat = _m(new_repeat) array.resize = _m(resize) array.searchsorted = _m(not_implemented) array.setfield = _m(not_implemented) @@ -2232,7 +2232,7 @@ def _swapaxes(self,axis1,axis2): return MaskedArray(data = self.data.swapaxes(axis1, axis2), mask = self.mask.swapaxes(axis1, axis2)) array.swapaxes = _m(_swapaxes) -array.take = _m(take) +array.take = _m(new_take) array.tofile = _m(not_implemented) array.trace = _m(trace) array.transpose = _m(transpose) -- cgit v1.2.1