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

numpy-svn@scip... numpy-svn@scip...
Tue Apr 1 12:03:20 CDT 2008


Author: oliphant
Date: 2008-04-01 12:03:17 -0500 (Tue, 01 Apr 2008)
New Revision: 4954

Modified:
   trunk/numpy/oldnumeric/ma.py
Log:
Fix-up a few errors in oldnumeric.

Modified: trunk/numpy/oldnumeric/ma.py
===================================================================
--- trunk/numpy/oldnumeric/ma.py	2008-04-01 14:26:07 UTC (rev 4953)
+++ trunk/numpy/oldnumeric/ma.py	2008-04-01 17:03:17 UTC (rev 4954)
@@ -2201,7 +2201,7 @@
         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 @@
 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 @@
     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)



More information about the Numpy-svn mailing list