Skip to content

Commit

Permalink
remove redundant reversal of eigenvalues order
Browse files Browse the repository at this point in the history
  • Loading branch information
pijyoi committed Aug 12, 2022
1 parent 27c8fd2 commit be29802
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion numpy/linalg/linalg.py
Expand Up @@ -1631,7 +1631,6 @@ def svd(a, full_matrices=True, compute_uv=True, hermitian=False):
return wrap(u), s, wrap(vt)
else:
s = eigvalsh(a)
s = s[..., ::-1]
s = abs(s)
return sort(s)[..., ::-1]

Expand Down

0 comments on commit be29802

Please sign in to comment.