Skip to content

Commit aab61db

Browse files
committed
Revert try restart state bug introduced in #5470
Partially fixes #5487 Revert change from efc82d4#r166655540 Thanks to rene for catching this
1 parent dc2bf77 commit aab61db

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

include/picongpu/simulation/control/Simulation.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,10 @@ namespace picongpu
480480
else
481481
this->restartStep = checkpoints.back();
482482
}
483+
}
483484

485+
if(this->restartRequested)
486+
{
484487
initialiserController->restart((uint32_t) this->restartStep, this->restartDirectory);
485488
step = this->restartStep;
486489
}

0 commit comments

Comments
 (0)