diff --git a/examples/simplest/simplest_example.py b/examples/simplest/simplest_example.py index 9d6f11c..bc5cf1c 100644 --- a/examples/simplest/simplest_example.py +++ b/examples/simplest/simplest_example.py @@ -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)] @@ -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()