From 27c2a2af862ff21ecbf6a7523d6a52bda42825fd Mon Sep 17 00:00:00 2001 From: Thomas Albers Raviola Date: Fri, 19 Jul 2024 15:18:22 +0200 Subject: Change float_ to float64 --- schroedinger/schroedinger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]): -- cgit v1.2.3