[Numpy-svn] r5139 - branches/1.1.x/numpy/core
numpy-svn at scipy.org
numpy-svn at scipy.org
Wed May 7 16:13:45 EDT 2008
Author: oliphant
Date: 2008-05-07 15:13:45 -0500 (Wed, 07 May 2008)
New Revision: 5139
Modified:
branches/1.1.x/numpy/core/defmatrix.py
Log:
Matrices don't need to special-case tolist now.
Modified: branches/1.1.x/numpy/core/defmatrix.py
===================================================================
--- branches/1.1.x/numpy/core/defmatrix.py 2008-05-07 20:12:49 UTC (rev 5138)
+++ branches/1.1.x/numpy/core/defmatrix.py 2008-05-07 20:13:45 UTC (rev 5139)
@@ -474,11 +474,6 @@
def ptp(self, axis=None, out=None):
return N.ndarray.ptp(self, axis, out)._align(axis)
- # Needed becase tolist method expects a[i]
- # to have dimension a.ndim-1
- def tolist(self):
- return self.__array__().tolist()
-
def getI(self):
M,N = self.shape
if M == N:
More information about the Numpy-svn
mailing list