Skip to content

Commit 1ee88f1

Browse files
committed
debug: idem
1 parent e181a34 commit 1ee88f1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/controller/nonlinmpc.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -539,6 +539,8 @@ function init_optimization!(
539539
end
540540

541541
set_nonlincon!(::PredictiveController, ::JuMP.GenericModel) = nothing
542+
set_nonlincon!(::LinMPC, ::JuMP.GenericModel) = nothing
543+
set_nonlincon!(::ExplicitMPC, ::JuMP.GenericModel) = nothing
542544
# TODO: cleanup this function, this is super dirty
543545
function set_nonlincon_exp(mpc::NonLinMPC, optim::JuMP.GenericModel{JNT}) where JNT<:Real
544546
# ========= Test new experimental feature ========================================

0 commit comments

Comments
 (0)