Move the subcycling flag reset

This commit is contained in:
Hrvoje Jasak 2020-03-20 15:35:50 +00:00
parent 2047194e3a
commit b9ef35254a

View file

@ -1108,10 +1108,11 @@ void Foam::Time::endSubCycle()
{
if (subCycling_)
{
subCycling_ = false;
TimeState::operator=(prevTimeState());
prevTimeState_.clear();
}
subCycling_ = false;
}