summaryrefslogtreecommitdiff
path: root/numpy/polynomial
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
parent81c2c16f3218c879f5bfeacd80f237336e56584d (diff)
downloadnumpy-26c0fcbd8ab32d3d5f4657890c5da114168cfb6d.tar.gz
MAINT: remove redundant sorting of eigenvalues
Diffstat (limited to 'numpy/polynomial')
-rw-r--r--numpy/polynomial/hermite.py1
-rw-r--r--numpy/polynomial/hermite_e.py1
2 files changed, 0 insertions, 2 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)
diff --git a/numpy/polynomial/hermite_e.py b/numpy/polynomial/hermite_e.py
index d94d23a11..394f256a5 100644
--- a/numpy/polynomial/hermite_e.py
+++ b/numpy/polynomial/hermite_e.py
@@ -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)