[Scipy-svn] r3776 - trunk/scipy/io/matlab

scipy-svn@scip... scipy-svn@scip...
Thu Jan 3 16:17:03 CST 2008


Author: wnbell
Date: 2008-01-03 16:16:43 -0600 (Thu, 03 Jan 2008)
New Revision: 3776

Modified:
   trunk/scipy/io/matlab/mio5.py
Log:
add brief comment


Modified: trunk/scipy/io/matlab/mio5.py
===================================================================
--- trunk/scipy/io/matlab/mio5.py	2008-01-03 22:15:45 UTC (rev 3775)
+++ trunk/scipy/io/matlab/mio5.py	2008-01-03 22:16:43 UTC (rev 3776)
@@ -667,7 +667,7 @@
 
         '''
         A = self.arr.tocsc() # convert to sparse CSC format
-        A.sort_indices()
+        A.sort_indices()     # MATLAB expects sorted row indices
         is_complex = (A.dtype.kind == 'c')
         nz = A.nnz
 



More information about the Scipy-svn mailing list