Skip to content

Commit 24ecff9

Browse files
committed
debug: no method ambiguities with linconstrainteq!
1 parent e703c69 commit 24ecff9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/controller/transcription.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1069,10 +1069,10 @@ function linconstrainteq!(
10691069
return nothing
10701070
end
10711071
"No linear equality constraints for [`InternalModel`](@ref) (state is not augmented)."
1072-
linconstrainteq!(::PredictiveController, ::SimModel, ::InternalModel, ::TranscriptionMethod) = nothing
1072+
linconstrainteq!(::PredictiveController, ::NonLinModel, ::InternalModel, ::TranscriptionMethod) = nothing
10731073
"No linear equality constraints for [`SingleShooting`(@ref) (N/A).]"
1074-
linconstrainteq!(::PredictiveController, ::SimModel, ::StateEstimator, ::SingleShooting) = nothing
1075-
linconstrainteq!(::PredictiveController, ::SimModel, ::InternalModel, ::SingleShooting) = nothing
1074+
linconstrainteq!(::PredictiveController, ::SimModel, ::StateEstimator, ::SingleShooting) = nothing
1075+
linconstrainteq!(::PredictiveController, ::NonLinModel, ::InternalModel, ::SingleShooting) = nothing
10761076

10771077
@doc raw"""
10781078
set_warmstart!(mpc::PredictiveController, ::SingleShooting, Z̃var) -> Z̃s

0 commit comments

Comments
 (0)