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

scipy-svn@scip... scipy-svn@scip...
Wed Mar 14 03:28:19 CDT 2007


Author: wnbell
Date: 2007-03-14 03:28:17 -0500 (Wed, 14 Mar 2007)
New Revision: 2845

Modified:
   trunk/Lib/sparse/sparse.py
Log:
fixed typo in csc_matrix docs



Modified: trunk/Lib/sparse/sparse.py
===================================================================
--- trunk/Lib/sparse/sparse.py	2007-03-12 19:47:15 UTC (rev 2844)
+++ trunk/Lib/sparse/sparse.py	2007-03-14 08:28:17 UTC (rev 2845)
@@ -722,7 +722,7 @@
 
           - csc_matrix((data, ij), [(M, N), nzmax])
             where data, ij satisfy:
-                a[ij[k, 0], ij[k, 1]] = data[k]
+                a[ij[0, k], ij[1, k]] = data[k]
 
           - csc_matrix((data, row, ptr), [(M, N)])
             standard CSC representation



More information about the Scipy-svn mailing list