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

scipy-svn at scipy.org scipy-svn at scipy.org
Mon Jan 8 05:42:31 EST 2007


Author: wnbell
Date: 2007-01-08 04:42:30 -0600 (Mon, 08 Jan 2007)
New Revision: 2506

Modified:
   trunk/Lib/sparse/sparse.py
Log:
Removed default value for argument m in speye()

The previous statement "m=None" wasn't handled correctly anyway.



Modified: trunk/Lib/sparse/sparse.py
===================================================================
--- trunk/Lib/sparse/sparse.py	2007-01-08 09:50:20 UTC (rev 2505)
+++ trunk/Lib/sparse/sparse.py	2007-01-08 10:42:30 UTC (rev 2506)
@@ -2718,7 +2718,7 @@
     return spdiags( diags, 0, n, n )
 
 
-def speye(n, m = None, k = 0, dtype = 'd'):
+def speye(n, m, k = 0, dtype = 'd'):
     """
     speye(n, m) returns a (n x m) matrix stored
     in CSC sparse matrix format, where the  k-th diagonal is all ones,




More information about the Scipy-svn mailing list