mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-11 22:55:34 -06:00
fixed: do not assert for positive timestep when simulation is finished
This commit is contained in:
parent
2c8d0a95fc
commit
29ced177c4
@ -762,7 +762,7 @@ public:
|
|||||||
else
|
else
|
||||||
// ask the problem to provide the next time step size
|
// ask the problem to provide the next time step size
|
||||||
dt = std::min(maxTimeStepSize(), problem_->nextTimeStepSize());
|
dt = std::min(maxTimeStepSize(), problem_->nextTimeStepSize());
|
||||||
assert(dt > 0);
|
assert(finished() || dt > 0);
|
||||||
setTimeStepSize(dt);
|
setTimeStepSize(dt);
|
||||||
}
|
}
|
||||||
prePostProcessTimer_.stop();
|
prePostProcessTimer_.stop();
|
||||||
|
Loading…
Reference in New Issue
Block a user