Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions src/controller/construct.jl
Original file line number Diff line number Diff line change
Expand Up @@ -558,9 +558,6 @@ function setconstraint!(
return mpc
end

"Verify that the `Inf` values in `Z̃new` are the same that in `Z̃old`."
diff_infs(Z̃new, Z̃old) = any(isinf(x) ≠ isinf(y) for (x,y) in zip(Z̃new, Z̃old))

"By default, no nonlinear constraints, return nothing."
reset_nonlincon!(::PredictiveController) = nothing

Expand Down
Loading
Loading