Skip to content

Commit ed2545b

Browse files
Merge pull request #5492 from ikbuibui/bugfix_try_restart
Revert try restart state bug introduced in #5470
2 parents dc2bf77 + aab61db commit ed2545b

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)