Skip to content

Commit 4849eb2

Browse files
committed
debug: idem
1 parent a3647b4 commit 4849eb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/controller/execute.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ function extended_predictions!(Ŷe, Ue, Ū, mpc, model, Ŷ0, ΔŨ)
397397
Ŷe[ny+1:end] .= Ŷ0 .+ mpc.Yop
398398
end
399399
# --- extended manipulated inputs Ue = [U; u(k+Hp-1)] ---
400-
if !(mpc.weights.iszero_L_Hp[] && mpc.nocustomfcts)
400+
if !(mpc.weights.iszero_L_Hp[] && nocustomfcts)
401401
U =
402402
U .= mul!(U, mpc.S̃, ΔŨ) .+ mpc.T_lastu
403403
Ue[1:end-nu] .= U

0 commit comments

Comments
 (0)