diff options
author | Tim Suhling <tim@suhling.com> | 2024-07-19 15:21:24 +0200 |
---|---|---|
committer | Tim Suhling <tim@suhling.com> | 2024-07-19 15:21:24 +0200 |
commit | c03f6ae549ae238ca50e68b17470cbac843f92a9 (patch) | |
tree | 061a481efcadc48aaf8da13532aad2212b2c42dd | |
parent | c02bb4ac9df63c3bed3a0771e02e0f6900e3074d (diff) | |
parent | 27c2a2af862ff21ecbf6a7523d6a52bda42825fd (diff) |
Merge branch 'master' into plot
-rw-r--r-- | schroedinger/schroedinger.py | 2 |
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]): |