Skip to content

Commit

Permalink
Merge pull request #102 from ealcobaca/eigvals-fix
Browse files Browse the repository at this point in the history
Change 'np.linalg.eigvals' to 'np.linalg.eigvalsh' in 'ft_eigenvalues'
  • Loading branch information
FelSiq committed Aug 21, 2020
2 parents c1cfcb5 + 052aa6d commit fd37092
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymfe/statistical.py
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ def ft_eigenvalues(
if cov_mat is None:
cov_mat = np.cov(N, rowvar=False, ddof=ddof)

return np.linalg.eigvals(cov_mat)
return np.linalg.eigvalsh(cov_mat)

@classmethod
def ft_g_mean(
Expand Down

0 comments on commit fd37092

Please sign in to comment.