Skip to content

Commit 7ae37e5

Browse files
committed
Fixed pca flip branch
1 parent 3ce6b38 commit 7ae37e5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mne/source_estimate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3379,7 +3379,7 @@ def _pca_flip(flip, data):
33793379
result = None
33803380
if flip is None: # Case of volumetric data: flip is meaningless
33813381
flip = 1
3382-
elif data.shape[0] < 2:
3382+
if data.shape[0] < 2:
33833383
result = data.mean(axis=0) # Trivial accumulator
33843384
else:
33853385
U, s, V = _safe_svd(data, full_matrices=False)

0 commit comments

Comments
 (0)