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

Commit

Permalink
Added a missing close for the log file at the end of a run
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Sep 15, 2023
1 parent 837535b commit 7aed38d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/swiftest/swiftest_io.f90
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,7 @@ module subroutine swiftest_io_display_run_information(self, param, integration_t
if (phase_val == -1) then
write(param%display_unit, *)" *************** Swiftest stop " // trim(adjustl(param%integrator)) // " *************** "
if (param%display_style == "COMPACT") write(*,*) "SWIFTEST STOP" // trim(adjustl(param%integrator))
if (param%log_output) close(param%display_unit)
end if

#ifdef COARRAY
Expand Down

0 comments on commit 7aed38d

Please sign in to comment.