[Scipy-svn] r3909 - trunk/scipy/sparse
scipy-svn at scipy.org
scipy-svn at scipy.org
Sat Feb 9 02:26:53 EST 2008
Author: wnbell
Date: 2008-02-09 01:26:50 -0600 (Sat, 09 Feb 2008)
New Revision: 3909
Modified:
trunk/scipy/sparse/construct.py
Log:
added missing asformat to bmat()
Modified: trunk/scipy/sparse/construct.py
===================================================================
--- trunk/scipy/sparse/construct.py 2008-02-09 07:25:21 UTC (rev 3908)
+++ trunk/scipy/sparse/construct.py 2008-02-09 07:26:50 UTC (rev 3909)
@@ -329,6 +329,6 @@
nnz += A.nnz
shape = (sum(brow_lengths),sum(bcol_lengths))
- return coo_matrix( (data, (row, col)), shape=shape )
+ return coo_matrix( (data, (row, col)), shape=shape ).asformat(format)
More information about the Scipy-svn
mailing list