[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:
Markus Blatt 2015-09-01 19:28:56 +02:00
parent 0227165bd5
commit 4c0189f917

View File

@ -96,7 +96,6 @@ namespace Opm
double AdaptiveSimulatorTimer::currentStepLength () const
{
assert( ! done () );
return dt_;
}