Skip to content

Commit d9f024f

Browse files
committed
debug : ExplicitMPC getinfo
1 parent 4462cd7 commit d9f024f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/controller/explicitmpc.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ The solution is ``\mathbf{ΔŨ = - H̃^{-1} q̃}``, see [`init_quadprog`](@ref)
195195
optim_objective!(mpc::ExplicitMPC) = lmul!(-1, ldiv!(mpc.ΔŨ, mpc.H̃_chol, mpc.q̃))
196196

197197
"Compute the predictions but not the terminal states if `mpc` is an [`ExplicitMPC`](@ref)."
198-
function predict!(Ŷ, x̂, mpc::ExplicitMPC, ::LinModel, ΔŨ::Vector{NT}) where {NT<:Real}
198+
function predict!(Ŷ, x̂, _ , mpc::ExplicitMPC, ::LinModel, ΔŨ::Vector{NT}) where {NT<:Real}
199199
# in-place operations to reduce allocations :
200200
Ŷ .= mul!(Ŷ, mpc.Ẽ, ΔŨ) .+ mpc.F
201201
x̂ .= NaN

0 commit comments

Comments
 (0)