Skip to content

Commit 9fddfef

Browse files
committed
debug setconstraint!
1 parent b4e1c99 commit 9fddfef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/predictive_control.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ function setconstraint!(
9797
)
9898
model = mpc.estim.model
9999
con = mpc.con
100-
nu, ny = model.ny, model.ny
100+
nu, ny = model.nu, model.ny
101101
Hp, Hc = mpc.Hp, mpc.Hc
102102
C, E = mpc.C, mpc.Ẽ[:, 1:nu*Hc]
103103
if !isnothing(umin)

0 commit comments

Comments
 (0)