This is an automated email from the git hooks/post-receive script.

yoh pushed a commit to annotated tag v0.1
in repository python-mne.

commit a173c0539898a3c86c91efb80451292ebd682fa7
Author: Alexandre Gramfort <[email protected]>
Date:   Thu Dec 30 17:49:51 2010 -0500

    speed improvement for sparse mult
---
 fiff/forward.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fiff/forward.py b/fiff/forward.py
index 887b7af..456fdf5 100644
--- a/fiff/forward.py
+++ b/fiff/forward.py
@@ -47,7 +47,7 @@ def _block_diag(A, n):
         jj = jj * np.ones(ma, dtype=np.int)[:,None]
         jj = jj.T.ravel() # column indices foreach sparse bd
 
-        bd = sparse.coo_matrix((A.T.ravel(), np.c_[ii, jj].T))
+        bd = sparse.coo_matrix((A.T.ravel(), np.c_[ii, jj].T)).tocsc()
     else: # already is sparse, unblock it
         import pdb; pdb.set_trace()
         # [mA,na] = size(A);        % matrix always has na columns

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/debian-med/python-mne.git

_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to