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 1c9ef2eb8ce6ad979533f32077dbcdb01b6c1802
Author: Alexandre Gramfort <[email protected]>
Date:   Thu May 5 11:13:34 2011 -0400

    inplace square computation
---
 mne/minimum_norm/time_frequency.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mne/minimum_norm/time_frequency.py 
b/mne/minimum_norm/time_frequency.py
index 6c015da..d98092e 100644
--- a/mne/minimum_norm/time_frequency.py
+++ b/mne/minimum_norm/time_frequency.py
@@ -32,7 +32,7 @@ def _compute_power(data, K, sel, Ws, source_ori, use_fft, Vh):
                     # print 'combining the current components...',
                     sol = combine_xyz(sol, square=True)
                 else:
-                    sol = sol ** 2
+                    np.power(sol, 2, sol)
 
                 power += sol
                 del sol

-- 
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