From d3b2ec4dd8d7441200e5f4b95b5858d7e63ecb22 Mon Sep 17 00:00:00 2001 From: Nuwan Yapa Date: Mon, 7 Apr 2025 19:38:23 -0400 Subject: [PATCH] Integration bug fixed --- nucleons.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nucleons.jl b/nucleons.jl index d465af4..4796bbf 100644 --- a/nucleons.jl +++ b/nucleons.jl @@ -86,7 +86,7 @@ function solveNucleonWf(κ, p::Bool, E, s::system; shooting=true, normalize=true end if normalize - wf ./= norm(wf) * Δr(s) # integration by Reimann sum + wf ./= norm(wf) * sqrt(Δr(s)) # integration by Reimann sum end return wf