summaryrefslogtreecommitdiff
path: root/numpy/polynomial/hermite.py
diff options
context:
space:
mode:
authoralex <argriffi@ncsu.edu>2015-06-22 17:40:32 -0400
committeralex <argriffi@ncsu.edu>2015-06-22 17:40:32 -0400
commit26c0fcbd8ab32d3d5f4657890c5da114168cfb6d (patch)
tree9e018e277c8d88c60edde33e4128d9ece2231d86 /numpy/polynomial/hermite.py
parent81c2c16f3218c879f5bfeacd80f237336e56584d (diff)
downloadnumpy-26c0fcbd8ab32d3d5f4657890c5da114168cfb6d.tar.gz
MAINT: remove redundant sorting of eigenvalues
Diffstat (limited to 'numpy/polynomial/hermite.py')
-rw-r--r--numpy/polynomial/hermite.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/numpy/polynomial/hermite.py b/numpy/polynomial/hermite.py
index 60bca1874..2ce1d97a8 100644
--- a/numpy/polynomial/hermite.py
+++ b/numpy/polynomial/hermite.py
@@ -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)