[med-svn] [python-mne] 240/353: FIX: wrong number of proj
Yaroslav Halchenko
debian at onerussian.com
Fri Nov 27 17:25:06 UTC 2015
This is an automated email from the git hooks/post-receive script.
yoh pushed a commit to tag 0.4
in repository python-mne.
commit 6792b09f4549b1778a4c923d1cdf15bc4208b579
Author: Martin Luessi <mluessi at nmr.mgh.harvard.edu>
Date: Mon Jul 2 16:57:05 2012 -0400
FIX: wrong number of proj
---
mne/fiff/proj.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mne/fiff/proj.py b/mne/fiff/proj.py
index 658619b..9e86983 100644
--- a/mne/fiff/proj.py
+++ b/mne/fiff/proj.py
@@ -275,7 +275,7 @@ def make_projector(projs, ch_names, bads=[], include_active=True):
# Check whether all of the vectors are exactly zero
if nonzero == 0:
- return proj, nproj, U
+ return proj, 0, U
# Reorthogonalize the vectors
U, S, V = linalg.svd(vecs[:, :nvec], full_matrices=False)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-mne.git
More information about the debian-med-commit
mailing list