Integration bug fixed

This commit is contained in:
Nuwan Yapa 2025-04-07 19:38:23 -04:00
parent a143edb496
commit d3b2ec4dd8
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ function solveNucleonWf(κ, p::Bool, E, s::system; shooting=true, normalize=true
end end
if normalize if normalize
wf ./= norm(wf) * Δr(s) # integration by Reimann sum wf ./= norm(wf) * sqrt(Δr(s)) # integration by Reimann sum
end end
return wf return wf