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

Commit

Permalink
Moved coarray conditional preprocessor statement to above a coarray d…
Browse files Browse the repository at this point in the history
…eclaration
  • Loading branch information
daminton committed Apr 14, 2023
1 parent be4985c commit 042a882
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/swiftest/swiftest_io.f90
Original file line number Diff line number Diff line change
Expand Up @@ -1882,9 +1882,9 @@ module subroutine swiftest_io_param_reader(self, unit, iotype, v_list, iostat, i
logical :: seed_set = .false. !! Is the random seed set in the input file?
character(len=:), allocatable :: integrator
real(DP) :: tratio, y
#ifdef COARRAY
type(swiftest_parameters), codimension[*], save :: coparam

#ifdef COARRAY
if (this_image() == 1) then
coparam = self
associate(param => coparam)
Expand Down

0 comments on commit 042a882

Please sign in to comment.