Skip to content

Commit

Permalink
Miscellaneous fixes needed for rSOILWAT2: added new case for closing …
Browse files Browse the repository at this point in the history
…text files in rSOILWAT2
  • Loading branch information
niteflyunicorns committed Mar 14, 2024
1 parent de57fcd commit 4c7a2d4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/SW_Output_outtext.c
Original file line number Diff line number Diff line change
Expand Up @@ -582,6 +582,12 @@ void SW_OUT_close_textfiles(SW_FILE_STATUS* SW_FileStatus, SW_GEN_OUT* GenOutput
close_layers = (Bool) (SW_FileStatus->make_soil[p] && GenOutput->storeAllIterations);
close_aggs = (Bool) ((SW_FileStatus->make_regular[p] || SW_FileStatus->make_soil[p])
&& GenOutput->prepare_IterationSummary);

#else
close_regular = swFALSE;
close_layers - swFALSE;
close_aggs = swFALSE;

#endif

if (GenOutput->use_OutPeriod[p]) {
Expand Down

0 comments on commit 4c7a2d4

Please sign in to comment.