[Scipy-svn] r6986 - trunk/scipy/sparse

scipy-svn@scip... scipy-svn@scip...
Sat Dec 4 14:24:50 CST 2010


Author: ptvirtan
Date: 2010-12-04 14:24:49 -0600 (Sat, 04 Dec 2010)
New Revision: 6986

Modified:
   trunk/scipy/sparse/base.py
Log:
ENH: sparse: un-deprecate spmatrix.dot --- ndarrays also have the .dot() method meaning the matrix product, so sparse matrices should also have it

Modified: trunk/scipy/sparse/base.py
===================================================================
--- trunk/scipy/sparse/base.py	2010-12-03 07:21:30 UTC (rev 6985)
+++ trunk/scipy/sparse/base.py	2010-12-04 20:24:49 UTC (rev 6986)
@@ -247,7 +247,6 @@
     def matmat(self,other):
         return self * other
 
-    @np.deprecate
     def dot(self, other):
         return self * other
 



More information about the Scipy-svn mailing list