mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
[bugfix] Allow querying the current time step even if we are done.
Previously there was an assertion whether the time stepping is still running when querying the time step. After commit 5af794cfd588b this triggered an assertion for Norne. As there is no reason to limit querying the current time step in this way. This commit simply removes the assertion in AdaptiveSimulatorTimer::currentStepLength. This closes OPM/opm-autodiff#446
This commit is contained in:
parent
0227165bd5
commit
4c0189f917
@ -96,7 +96,6 @@ namespace Opm
|
||||
|
||||
double AdaptiveSimulatorTimer::currentStepLength () const
|
||||
{
|
||||
assert( ! done () );
|
||||
return dt_;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user