Skip to content

Commit ec93aa5

Browse files
committed
debug: predict! method of ExplicitMPC
1 parent 5c0436b commit ec93aa5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/controller/explicitmpc.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ optim_objective!(mpc::ExplicitMPC) = lmul!(-1, ldiv!(mpc.Z̃, mpc.H̃_chol, mpc.
195195

196196
"Compute the predictions but not the terminal states if `mpc` is an [`ExplicitMPC`](@ref)."
197197
function predict!(
198-
Ŷ0, x̂0end, _ , _ , mpc::ExplicitMPC, ::LinModel, ::TranscriptionMethod, _ , Z̃
198+
Ŷ0, x̂0end, _ , _ , _ , mpc::ExplicitMPC, ::LinModel, ::TranscriptionMethod, _ , Z̃
199199
)
200200
# in-place operations to reduce allocations :
201201
Ŷ0 .= mul!(Ŷ0, mpc.Ẽ, Z̃) .+ mpc.F

0 commit comments

Comments
 (0)