Skip to content

Commit f845e5b

Browse files
committed
Fix format
1 parent 39ec57e commit f845e5b

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

src/Bridges/Bridges.jl

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,8 +331,16 @@ function _test_dual(
331331
MOI.set(model, MOI.ConstraintDual(), ci, _fake_start(dual, set))
332332
end
333333
end
334-
model_dual = MOI.Utilities.get_fallback(model, MOI.DualObjectiveValue(), model_eltype)
335-
inner_dual = MOI.Utilities.get_fallback(inner, MOI.DualObjectiveValue(), model_eltype)
334+
model_dual = MOI.Utilities.get_fallback(
335+
model,
336+
MOI.DualObjectiveValue(),
337+
model_eltype,
338+
)
339+
inner_dual = MOI.Utilities.get_fallback(
340+
inner,
341+
MOI.DualObjectiveValue(),
342+
model_eltype,
343+
)
336344
# Need `atol` in case one of them is zero and the other one almost zero
337345
Test.@test model_dual inner_dual atol = 1e-6
338346
end

src/Bridges/Constraint/bridges/SplitHyperRectangleBridge.jl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,11 @@ end
174174

175175
function MOI.supports(
176176
model::MOI.ModelLike,
177-
attr::Union{MOI.ConstraintPrimalStart,MOI.ConstraintDualStart,MOI.ConstraintDual},
177+
attr::Union{
178+
MOI.ConstraintPrimalStart,
179+
MOI.ConstraintDualStart,
180+
MOI.ConstraintDual,
181+
},
178182
::Type{<:SplitHyperRectangleBridge{T,G}},
179183
) where {T,G}
180184
return MOI.supports(model, attr, MOI.ConstraintIndex{G,MOI.Nonnegatives})

0 commit comments

Comments
 (0)