Skip to content

Commit 3b0bd3e

Browse files
committed
debug: extract model variable
1 parent 9c22a35 commit 3b0bd3e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/controller/execute.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,7 @@ is actually slower in the [`MultipleShooting`](@ref) case, so only one method is
400400
function obj_nonlinprog!(
401401
Ȳ, Ū, mpc::PredictiveController, Ue, Ŷe, ΔŨ::AbstractVector{NT}
402402
) where NT<:Real
403+
model = mpc.estim.model
403404
nu, ny = model.nu, model.ny
404405
# --- output setpoint tracking term ---
405406
if mpc.weights.iszero_M_Hp[]

0 commit comments

Comments
 (0)