Skip to content

Commit

Permalink
diff switch cases changed for test
Browse files Browse the repository at this point in the history
  • Loading branch information
apozharski committed Sep 13, 2023
1 parent cda3b48 commit 9861a67
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/simplest/different_switch_cases.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ def main(variant='switch'):
theta_0[:, 1] = 0.0
solver.set('theta', theta_0)

solver.problem.print()
# loop
looper = nosnoc.NosnocSimLooper(solver, x0=model.x0, Nsim=Nsim)
looper.run()
Expand Down Expand Up @@ -142,4 +143,4 @@ def plot_results(results):


if __name__ == "__main__":
main(variant='switch')
main(variant='spontaneous')

0 comments on commit 9861a67

Please sign in to comment.