Skip to content

Commit 6ea7c66

Browse files
fix: fix usage of structural_simplify with inputs
1 parent d16bd28 commit 6ea7c66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/extensions/jump_control.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ end
282282
tspan = (0, tf)
283283

284284
@named cartpole = ODESystem(eqs, t; costs, constraints = cons)
285-
cartpole, input_idxs = structural_simplify(cartpole; inputs = [u])
285+
cartpole = structural_simplify(cartpole; inputs = [u])
286286

287287
u0map = [D(x(t)) => 0.0, D(θ(t)) => 0.0, θ(t) => 0.0, x(t) => 0.0]
288288
pmap = [mₖ => 1.0, mₚ => 0.2, l => 0.5, g => 9.81, u => 0]

0 commit comments

Comments
 (0)