Skip to content

Commit d067cc3

Browse files
committed
Fix format
1 parent 3cdd7c4 commit d067cc3

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

src/MOI_wrapper/HeuristicCallback.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,9 @@ mutable struct HeuristicCb <: Heuristic
1616
scipd::SCIPData
1717
heurcallback::Function
1818

19-
HeuristicCb(scipd::SCIPData, cb = cb_data -> nothing) = new(scipd, cb)
19+
HeuristicCb(scipd::SCIPData, cb=cb_data -> nothing) = new(scipd, cb)
2020
end
2121

22-
2322
"""
2423
Used for an argument to the heuristic callback, which in turn uses that argument to
2524
obtain the LP-solution via `MOI.get` and to add solutions via `MOI.submit`.

src/MOI_wrapper/UserCutCallback.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ mutable struct CutCbSeparator <: AbstractSeparator
3030
scipd::SCIPData
3131
cutcallback::Function
3232

33-
CutCbSeparator(scipd::SCIPData, cb = cb_data -> nothing) = new(scipd, cb)
33+
CutCbSeparator(scipd::SCIPData, cb=cb_data -> nothing) = new(scipd, cb)
3434
end
3535

3636
# If no cut callback is given, the cut callback does nothing.

test/MOI_tests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1562,7 +1562,7 @@ function test_nonlinear_epigraph_functions()
15621562
MOI.set(model, MOI.ObjectiveFunction{F}(), 1.0 * t)
15631563
MOI.add_constraint(model, op(:-, t, fn(x)), MOI.GreaterThan(0.0))
15641564
MOI.optimize!(model)
1565-
@test (MOI.get(model, MOI.VariablePrimal(), t), t_value; atol = 1e-4)
1565+
@test (MOI.get(model, MOI.VariablePrimal(), t), t_value; atol=1e-4)
15661566
end
15671567
return
15681568
end

0 commit comments

Comments
 (0)