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 04adac5bd7b6d06dca72e672119a9313db5ee3a9 Author: Alexandre Gramfort <[email protected]> Date: Mon Mar 28 17:31:17 2011 -0400 minor bug fix in minimum_norm(...) --- mne/inverse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mne/inverse.py b/mne/inverse.py index 38a8dad..bcdd966 100644 --- a/mne/inverse.py +++ b/mne/inverse.py @@ -274,7 +274,7 @@ def combine_xyz(vec): if vec.ndim != 1 or (vec.size % 3) != 0: raise ValueError, ('Input must be a 1D vector with ' '3N entries') - return np.sqrt((vec.ravel()**2).reshape(-1, 3).sum(axis=1)) + return (vec.ravel()**2).reshape(-1, 3).sum(axis=1) def prepare_inverse_operator(orig, nave, lambda2, dSPM): -- 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
