summaryrefslogtreecommitdiff
path: root/numpy/oldnumeric/ma.py
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2008-04-01 17:03:17 +0000
committerTravis Oliphant <oliphant@enthought.com>2008-04-01 17:03:17 +0000
commit07628857fab36890bd2755ed52785f3493d64bb8 (patch)
tree76ba29efcdfe1976c60e0cee118efa41d99ee3b2 /numpy/oldnumeric/ma.py
parentf4fd214af0c24c2a7f49c5c05f1430d803c54b01 (diff)
downloadnumpy-07628857fab36890bd2755ed52785f3493d64bb8.tar.gz
Fix-up a few errors in oldnumeric.
Diffstat (limited to 'numpy/oldnumeric/ma.py')
-rw-r--r--numpy/oldnumeric/ma.py6
1 files changed, 3 insertions, 3 deletions
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)