You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a second call is made to simulate() without a call to reset() what should happen?
I.e. if the simulation config says a simulation is 4 steps, simulate will execute steps 0, 1, 2, 3. A subsequent call to simulate will run steps 4, 5, 6, 7.
Should this actually be the case? Or should the second call to simulate not do anything as step 3 has already been executed?
There is also the interaction with explicit calls to step(). I.e. how many steps should be executed if the config is for 4 steps, but calls are step(); step(); simulate();. Should this execute 6 steps, or just 4?.
Changing this might break tests (or atleast change behaviour from intended.).
The text was updated successfully, but these errors were encountered:
If a second call is made to
simulate()
without a call toreset()
what should happen?I.e. if the simulation config says a simulation is
4
steps, simulate will execute steps0, 1, 2, 3
. A subsequent call tosimulate
will run steps4, 5, 6, 7
.Should this actually be the case? Or should the second call to
simulate
not do anything as step3
has already been executed?There is also the interaction with explicit calls to
step()
. I.e. how many steps should be executed if the config is for4
steps, but calls arestep(); step(); simulate();
. Should this execute 6 steps, or just 4?.Changing this might break tests (or atleast change behaviour from intended.).
The text was updated successfully, but these errors were encountered: