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

scipy-svn@scip... scipy-svn@scip...
Sun Jan 6 19:42:25 CST 2008


Author: wnbell
Date: 2008-01-06 19:42:20 -0600 (Sun, 06 Jan 2008)
New Revision: 3787

Modified:
   trunk/scipy/sparse/compressed.py
Log:
fixed typo


Modified: trunk/scipy/sparse/compressed.py
===================================================================
--- trunk/scipy/sparse/compressed.py	2008-01-05 08:16:25 UTC (rev 3786)
+++ trunk/scipy/sparse/compressed.py	2008-01-07 01:42:20 UTC (rev 3787)
@@ -590,7 +590,7 @@
         """
 
         #first check to see if result was cached
-        if not hasattr(self,'_has_sorted_indices'):
+        if not hasattr(self,'__has_sorted_indices'):
             fn = sparsetools.csr_has_sorted_indices
             self.__has_sorted_indices = \
                     fn( len(self.indptr) - 1, self.indptr, self.indices)



More information about the Scipy-svn mailing list