Skip to content

Commit

Permalink
fix the simple sim unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
apozharski committed Sep 13, 2023
1 parent cda3b48 commit 321d941
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/simplest/simplest_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def get_simplest_model_sliding(x0=X0):
# sign matrix for the modes
S = [np.array([[-1], [1]])]

f_11 = 1
f_11 = 3
f_12 = -1
# in matrix form
F = [horzcat(f_11, f_12)]
Expand Down Expand Up @@ -72,7 +72,6 @@ def solve_simplest_example(opts=None, model=None, x0=X0, Nsim=1, Tsim=TSIM):
opts.terminal_time = Tstep

solver = nosnoc.NosnocSolver(opts, model)

# loop
looper = nosnoc.NosnocSimLooper(solver, x0, Nsim)
looper.run()
Expand Down

0 comments on commit 321d941

Please sign in to comment.