[Scipy-svn] r3049 - trunk/Lib/sparse

scipy-svn at scipy.org scipy-svn at scipy.org
Sun May 27 00:49:44 EDT 2007


Author: wnbell
Date: 2007-05-26 23:49:36 -0500 (Sat, 26 May 2007)
New Revision: 3049

Modified:
   trunk/Lib/sparse/sparse.py
Log:
removed cmp function from spmatrix 
resolves ticket #290



Modified: trunk/Lib/sparse/sparse.py
===================================================================
--- trunk/Lib/sparse/sparse.py	2007-05-27 04:19:22 UTC (rev 3048)
+++ trunk/Lib/sparse/sparse.py	2007-05-27 04:49:36 UTC (rev 3049)
@@ -162,9 +162,6 @@
             val = val + self.listprint(0, nnz)
         return val[:-1]
 
-    def __cmp__(self, other):
-        raise NotImplementedError, "comparison of sparse matrices not implemented"
-
     def __nonzero__(self):  # Simple -- other ideas?
         return self.getnnz() > 0
 




More information about the Scipy-svn mailing list