Skip to content

Commit

Permalink
pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
agramfort committed Dec 14, 2013
1 parent 9b37285 commit 08469a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sklearn/decomposition/pca.py
Expand Up @@ -676,7 +676,7 @@ def _fit(self, X):

self.explained_variance_ = exp_var = (S ** 2) / n_samples
if sparse.issparse(X):
_ , full_var = mean_variance_axis0(X)
_, full_var = mean_variance_axis0(X)
full_var = full_var.sum()
else:
full_var = np.sum(X.ravel() * X.ravel()) / n_samples
Expand Down

0 comments on commit 08469a6

Please sign in to comment.