Skip to content

Commit

Permalink
Merge pull request #505 from andlaus/correct_isSubstep
Browse files Browse the repository at this point in the history
pass the correct value for the isSubstep parameter of problem_->writeOutput()
  • Loading branch information
totto82 authored May 13, 2019
2 parents 19b2307 + e05fac1 commit 3b55853
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ewoms/common/simulator.hh
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ public:

// write initial condition
if (problem_->shouldWriteOutput())
EWOMS_CATCH_PARALLEL_EXCEPTIONS_FATAL(problem_->writeOutput(/*isSubstep=*/false));
EWOMS_CATCH_PARALLEL_EXCEPTIONS_FATAL(problem_->writeOutput(/*isSubstep=*/!episodeWillBeOver()));

timeStepSize_ = oldTimeStepSize;
timeStepIdx_ = oldTimeStepIdx;
Expand Down

0 comments on commit 3b55853

Please sign in to comment.