Skip to content

Commit 220db08

Browse files
committed
formats
1 parent 31b9954 commit 220db08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/optimal_control.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,5 +307,5 @@ end
307307
prob = ODEProblem(lksys, u0map, tspan, parammap; allow_cost = true)
308308
sol = solve(prob, Tsit5())
309309
costfn = ModelingToolkit.generate_cost_function(lksys)
310-
@test costfn(sol, prob.p, _t) log(sol(0.56)[2] + sol(0.)[1]) - sol(0.4)[1]^2
310+
@test costfn(sol, prob.p, _t) log(sol(0.56)[2] + sol(0.0)[1]) - sol(0.4)[1]^2
311311
end

0 commit comments

Comments
 (0)