Skip to content

Commit

Permalink
REmove comment for default driver in eigh
Browse files Browse the repository at this point in the history
Co-authored-by: Mathias Hauser <mathause@users.noreply.github.com>
  • Loading branch information
veni-vidi-vici-dormivi and mathause authored Mar 8, 2024
1 parent 9748df7 commit c5fb678
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesmer/stats/_auto_regression.py
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ def _draw_auto_regression_correlated_np(
cov = scipy.stats.Covariance.from_cholesky(np.linalg.cholesky(covariance))
except np.linalg.LinAlgError as e:
if "Matrix is not positive definite" in str(e):
w, v = np.linalg.eigh(covariance) # , driver = "evr")
w, v = np.linalg.eigh(covariance)
cov = scipy.stats.Covariance.from_eigendecomposition((w, v))
warnings.warn(
"Covariance matrix is not positive definite, using eigh instead of cholesky."
Expand Down

0 comments on commit c5fb678

Please sign in to comment.