diff options
author | Thomas Albers Raviola <thomas@thomaslabs.org> | 2024-07-19 15:18:22 +0200 |
---|---|---|
committer | Thomas Albers Raviola <thomas@thomaslabs.org> | 2024-07-19 15:18:22 +0200 |
commit | 27c2a2af862ff21ecbf6a7523d6a52bda42825fd (patch) | |
tree | 061a481efcadc48aaf8da13532aad2212b2c42dd | |
parent | cf5c404add0c69d25effbc8e6cc10545918ca4b8 (diff) |
Change float_ to float64
-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]): |