mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-11 23:15:35 -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
|
||||
// ask the problem to provide the next time step size
|
||||
dt = std::min(maxTimeStepSize(), problem_->nextTimeStepSize());
|
||||
assert(dt > 0);
|
||||
assert(finished() || dt > 0);
|
||||
setTimeStepSize(dt);
|
||||
}
|
||||
prePostProcessTimer_.stop();
|
||||
|
Loading…
Reference in New Issue
Block a user