Skip to content

Commit

Permalink
MAINT: remove redundant sorting of eigenvalues
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbrc committed Jun 22, 2015
1 parent 81c2c16 commit 26c0fcb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion numpy/polynomial/hermite.py
Original file line number Diff line number Diff line change
Expand Up @@ -1734,7 +1734,6 @@ def hermgauss(deg):
c = np.array([0]*deg + [1], dtype=np.float64)
m = hermcompanion(c)
x = la.eigvalsh(m)
x.sort()

# improve roots by one application of Newton
dy = _normed_hermite_n(x, ideg)
Expand Down
1 change: 0 additions & 1 deletion numpy/polynomial/hermite_e.py
Original file line number Diff line number Diff line change
Expand Up @@ -1732,7 +1732,6 @@ def hermegauss(deg):
c = np.array([0]*deg + [1])
m = hermecompanion(c)
x = la.eigvalsh(m)
x.sort()

# improve roots by one application of Newton
dy = _normed_hermite_e_n(x, ideg)
Expand Down

0 comments on commit 26c0fcb

Please sign in to comment.