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

Commit

Permalink
Made sure not to try to dump the encounter or collision history file …
Browse files Browse the repository at this point in the history
…if they don't exist because those features are not enabled.
  • Loading branch information
daminton committed Dec 14, 2022
1 parent 4c99bb2 commit 5624f37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/io/io.f90
Original file line number Diff line number Diff line change
Expand Up @@ -267,8 +267,8 @@ module subroutine io_dump_system(self, param)
! Dump the encounter history if necessary
select type(param)
class is (symba_parameters)
call param%encounter_history%dump(param)
call param%collision_history%dump(param)
if (param%lenc_save_trajectory .or. param%lenc_save_closest) call param%encounter_history%dump(param)
if (param%lfragmentation) call param%collision_history%dump(param)
end select

! Dump the system history to file
Expand Down

0 comments on commit 5624f37

Please sign in to comment.