Skip to content

Commit

Permalink
assertion r>2M
Browse files Browse the repository at this point in the history
  • Loading branch information
svretina committed May 29, 2024
1 parent 3d6c667 commit 6921b9b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ODE.jl
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ using ..InitialData
end
else
ri = InitialData.r(rstar[i], M) # transform rstar to r for potential
@assert ri > 2M
dtΠ[i] = drΨ + InitialData.Vpot(l, ri, M) * Φ[i]
dtΨ[i] = drΠ
end
Expand Down

0 comments on commit 6921b9b

Please sign in to comment.