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

Commit

Permalink
Fixed issue where conservation report was being printed before the ma…
Browse files Browse the repository at this point in the history
…in loop.
  • Loading branch information
daminton committed Aug 26, 2021
1 parent e88e975 commit edbffe1
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 @@ -1630,7 +1630,7 @@ module subroutine io_write_frame_system(self, param)
logical :: fileExists
type(netcdf_parameters) :: nciu

if (param%lenergy) call self%conservation_report(param, lterminal=.true.)
if (.not.lfirst .and. param%lenergy) call self%conservation_report(param, lterminal=.true.)

allocate(cb, source = self%cb)
allocate(pl, source = self%pl)
Expand Down

0 comments on commit edbffe1

Please sign in to comment.