@@ -25,20 +25,20 @@ function MOI.get(
2525 return 1
2626end
2727
28- function MOI. get (
29- :: _AbstractSlackBridge{T,VF,ZS,F,S} ,
30- :: MOI.NumberOfConstraints{VF,S} ,
31- ):: Int64 where {T,VF,ZS,F,S}
32- return 1
33- end
34-
3528function MOI. get (
3629 bridge:: _AbstractSlackBridge{T,VF,ZS,F} ,
3730 :: MOI.ListOfConstraintIndices{F,ZS} ,
3831) where {T,VF,ZS,F}
3932 return [bridge. equality]
4033end
4134
35+ function MOI. get (
36+ :: _AbstractSlackBridge{T,VF,ZS,F,S} ,
37+ :: MOI.NumberOfConstraints{VF,S} ,
38+ ):: Int64 where {T,VF,ZS,F,S}
39+ return 1
40+ end
41+
4242function MOI. get (
4343 bridge:: _AbstractSlackBridge{T,VF,ZS,F,S} ,
4444 :: MOI.ListOfConstraintIndices{VF,S} ,
@@ -55,20 +55,20 @@ function MOI.get(
5555 # that the original set was the same as the slacked set.
5656 return error (
5757 " Internal error: this method should never be called because it " *
58- " represents and invalid state. Please open an issue to report." ,
58+ " represents an invalid state. Please open an issue to report." ,
5959 )
6060end
6161
6262function MOI. get (
6363 bridge:: _AbstractSlackBridge{T,VF,S,F,S} ,
64- :: MOI.ListOfConstraintIndices{F ,S} ,
64+ :: MOI.ListOfConstraintIndices{VF ,S} ,
6565) where {T,VF,S,F}
6666 # This method is needed to resolve a possible ambiguity reported by
6767 # Test.detect_ambiguities. It can't happen in practice because it would mean
6868 # that the original set was the same as the slacked set.
6969 return error (
7070 " Internal error: this method should never be called because it " *
71- " represents and invalid state. Please open an issue to report." ,
71+ " represents an invalid state. Please open an issue to report." ,
7272 )
7373end
7474
0 commit comments