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

Commit

Permalink
Made sure to reset the encounter_history after a file dump
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Dec 6, 2022
1 parent 0d4c215 commit 0fdf197
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion python/swiftest/swiftest/simulation_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -2774,7 +2774,6 @@ def _preprocess(ds, param):
return



def follow(self, codestyle="Swifter"):
"""
An implementation of the Swift tool_follow algorithm. Under development. Currently only for Swift simulations.
Expand Down
1 change: 1 addition & 0 deletions src/symba/symba_io.f90
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,7 @@ module subroutine symba_io_stop_encounter(self, param, t)
call self%encounter_history%nc%initialize(param)
call self%encounter_history%dump(param)
call self%encounter_history%nc%close()
call self%encounter_history%reset()

return
end subroutine symba_io_stop_encounter
Expand Down

0 comments on commit 0fdf197

Please sign in to comment.