aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--schroedinger/schroedinger.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/schroedinger/schroedinger.py b/schroedinger/schroedinger.py
index 3ed2c3f..4c5d1f7 100644
--- a/schroedinger/schroedinger.py
+++ b/schroedinger/schroedinger.py
@@ -77,7 +77,7 @@ def solve_schroedinger(mass, potential, delta, eig_interval=None):
n = potential.shape[0]
a = 1 / mass / delta**2
w, v = eigh_tridiagonal(a + potential,
- -a * np.ones(n - 1, dtype=np.float_) / 2.0,
+ -a * np.ones(n - 1, dtype=np.float64) / 2.0,
select='i', select_range=eig_interval)
# Normalize eigenfunctions
for i in range(w.shape[0]):