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

Commit

Permalink
Fixed timer output to divide by output steps not dump steps
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Sep 22, 2022
1 parent b80bb42 commit 4c9e87a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/swiftest_driver.f90
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ program swiftest_driver
write(*, statusfmt) param%t, tfrac, pl%nbody, nbody_system%tp%nbody
end select
if (param%lenergy) call nbody_system%conservation_report(param, lterminal=.true.)
call integration_timer%report(message="Integration steps:", nsubsteps=istep_dump)
call integration_timer%report(message="Integration steps:", nsubsteps=istep_out)
call integration_timer%reset()

iout = istep_out
Expand Down

0 comments on commit 4c9e87a

Please sign in to comment.