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

Commit

Permalink
Changed the position of the first flag switching so that the recursio…
Browse files Browse the repository at this point in the history
…n step follows the same pattern as the non-recursion step
  • Loading branch information
daminton committed Mar 1, 2022
1 parent 73bcb42 commit b1b7bc8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/symba/symba_step.f90
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,11 @@ module subroutine symba_step_system(self, param, t, dt)
lencounter = pl%encounter_check(param, self, dt, 0) .or. tp%encounter_check(param, self, dt, 0)
if (lencounter) then
call self%interp(param, t, dt)
param%lfirstkick = .true.
else
self%irec = -1
call helio_step_system(self, param, t, dt)
param%lfirstkick = pl%lfirst
end if
param%lfirstkick = pl%lfirst
end select
end select
end select
Expand Down

0 comments on commit b1b7bc8

Please sign in to comment.