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

Commit

Permalink
More bugfixes for indexing the output files correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Dec 5, 2022
1 parent 965d4e6 commit 0dcc673
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/io/io.f90
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ module subroutine io_dump_storage(self, param)

iloop_start = max(param%iloop - int(param%istep_out * param%dump_cadence, kind=I8B),1)
do i = 1, param%dump_cadence
param%ioutput = int(iloop_start / param%istep_out, kind=I4B) + i
param%ioutput = max(int(iloop_start / param%istep_out, kind=I4B),1) + i
if (allocated(self%frame(i)%item)) then
select type(system => self%frame(i)%item)
class is (swiftest_nbody_system)
Expand Down

0 comments on commit 0dcc673

Please sign in to comment.