diff --git a/setup.cfg b/setup.cfg index 1d46eb0..2ebe1b0 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = fast_wave -version = 1.3.10 +version = 1.3.11 description = Package for the calculation of the time-independent wavefunction. author = Matheus Gomes Cordeiro author_email = matheusgomescord@gmail.com diff --git a/setup.py b/setup.py index e2daafb..91ceb5c 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ long_description = fh.read() name = "fast_wave" -version = "1.3.10" +version = "1.3.11" description = "Package for the calculation of the time-independent wavefunction." author_email = "matheusgomescord@gmail.com" url = "https://github.com/pikachu123deimos/fast-wave" diff --git a/src/fast_wave/wavefunction.py b/src/fast_wave/wavefunction.py index e81ffe0..5567dd1 100644 --- a/src/fast_wave/wavefunction.py +++ b/src/fast_wave/wavefunction.py @@ -205,7 +205,7 @@ def wavefunction_smod(n: np.uint64, x:np.float64, more_fast:bool = True) -> np.f r0 = r1 r1 = r2 - return r2 + return r1 @nb.jit(nopython=True, looplift=True, nogil=True, boundscheck=False, cache=True) @@ -264,7 +264,7 @@ def c_wavefunction_smod(n: np.uint64, x: np.complex128, more_fast:bool = True) - r0 = r1 r1 = r2 - return r2 + return r1 @nb.jit(nopython=True, looplift=True,nogil=True, boundscheck=False, cache=True)