mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #555 from akva2/fix_assert_timestep
fixed: do not assert for positive timestep when simulation is finished
This commit is contained in:
commit
42e60438f8
@ -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