Skip to content

Commit 5bcd037

Browse files
committed
debug : idem
1 parent 1ee88f1 commit 5bcd037

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/controller/nonlinmpc.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -538,9 +538,7 @@ function init_optimization!(
538538
return nothing
539539
end
540540

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

0 commit comments

Comments
 (0)