We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 355a039 commit 9c0eb8aCopy full SHA for 9c0eb8a
1 file changed
src/Bridges/Constraint/set_map.jl
@@ -51,15 +51,15 @@ function MOI.supports_constraint(
51
::Type{F},
52
::Type{S1},
53
) where {T,S1<:MOI.AbstractScalarSet,F<:MOI.AbstractScalarFunction}
54
- return !MOI.Utilities.is_complex(F)
+ return MOI.Utilities.is_complex(F) == (T <: Complex)
55
end
56
57
function MOI.supports_constraint(
58
::Type{<:MultiSetMapBridge{T,S1}},
59
60
61
) where {T,S1<:MOI.AbstractVectorSet,F<:MOI.AbstractVectorFunction}
62
63
64
65
function MOI.Bridges.added_constrained_variable_types(
0 commit comments