Skip to content

Commit b7be380

Browse files
committed
Update
1 parent c77de91 commit b7be380

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Bridges/Constraint/bridges/RSOCtoSOCBridge.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ end
5959

6060
function MOI.Bridges.map_function(::Type{<:RSOCtoSOCBridge{T}}, func) where {T}
6161
scalars = MOI.Utilities.eachscalar(func)
62-
if MOI.dimension(set) < 2
62+
if length(scalars) < 2
6363
err = DimensionMismatch(
6464
"Unable to reformulate a `RotatedSecondOrderCone` into a " *
6565
"`SecondOrderCone` because the output dimension is too small",

0 commit comments

Comments
 (0)