Merge pull request #3618 from joakim-hove/remove-extra

Remove unnecessary call to simulator.setStartTime()
This commit is contained in:
Bård Skaflestad 2021-10-20 14:29:41 +02:00 committed by GitHub
commit 1ee8322a51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2371,7 +2371,6 @@ private:
{
int restart_step = initconfig.getRestartStep();
simulator.setStartTime(schedule.simTime(0));
simulator.setTime(schedule.seconds(restart_step));
simulator.startNextEpisode(simulator.startTime() + simulator.time(),