mne-tools/mne-python — pull request #33 by mluessi (2012-03-12 16:39:48+00:00)
Title: FIX: wrong dimension in sample_mean computation

There was a nasty bug in the covariance computation.. we were computing the sample_mean across sensors instead of time. Unfortunately the sample_mean was an 1-d array, so np.dot(sample_mean, sample_mean.T) was a scalar and Python didn't complain.