Skip to content

Change logic for calling restart() in main loop#27

Open
SimonBirrell wants to merge 2 commits intogeorgmartius:masterfrom
SimonBirrell:restart-mod
Open

Change logic for calling restart() in main loop#27
SimonBirrell wants to merge 2 commits intogeorgmartius:masterfrom
SimonBirrell:restart-mod

Conversation

@SimonBirrell
Copy link

This change will mean that

  1. restart() actually gets called every simulation loop
  2. A simulation can be restart by an overloaded version of Simulation::restart() simply returning true.

restart() doesn't seem to be used much in the main repo, but there are a couple of simulations that might need modification.

This change will mean that
1) restart() actually gets called every simulation loop
2) A simulation can be restart by an overloaded version of Simulation::restart() simply returning true.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant