Move the subcycling flag reset
This commit is contained in:
parent
2047194e3a
commit
b9ef35254a
1 changed files with 2 additions and 1 deletions
|
@ -1108,10 +1108,11 @@ void Foam::Time::endSubCycle()
|
||||||
{
|
{
|
||||||
if (subCycling_)
|
if (subCycling_)
|
||||||
{
|
{
|
||||||
subCycling_ = false;
|
|
||||||
TimeState::operator=(prevTimeState());
|
TimeState::operator=(prevTimeState());
|
||||||
prevTimeState_.clear();
|
prevTimeState_.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
subCycling_ = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Reference in a new issue