We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19917ef commit c7a9557Copy full SHA for c7a9557
src/Bridges/Constraint/bridges/SetDotScalingBridge.jl
@@ -194,10 +194,10 @@ end
194
# for `SetMapBridge` does not work
195
function MOI.supports_constraint(
196
::Type{<:SetDotScalingBridge},
197
- ::Type{<:MOI.AbstractVectorFunction},
+ F::Type{<:MOI.AbstractVectorFunction},
198
S::Type{<:MOI.AbstractVectorSet},
199
)
200
- return MOI.is_set_dot_scaled(S)
+ return !MOI.Utilities.is_complex(F) && MOI.is_set_dot_scaled(S)
201
end
202
203
0 commit comments