Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Changed the condition from "or" to "and" to allow test particles to g…
Browse files Browse the repository at this point in the history
…et a kick
  • Loading branch information
anand43 committed Dec 12, 2023
1 parent e3a478e commit dea961a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/whm/whm_kick.f90
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ module subroutine whm_kick_getacch_tp(self, nbody_system, param, t, lbeg)
associate(tp => self, pl => nbody_system%pl, cb => nbody_system%cb)
npl = nbody_system%pl%nbody
ntp = self%nbody
if (ntp == 0 .or. npl == 0) return
if (ntp == 0 .and. npl == 0) return
nbody_system%lbeg = lbeg

if (lbeg) then
Expand Down

0 comments on commit dea961a

Please sign in to comment.