Skip to content

Commit 49df057

Browse files
committed
format
1 parent 282b455 commit 49df057

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/MOI_wrapper.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,7 @@ end
142142
143143
Number of cuts added to the outer approximation model.
144144
"""
145-
struct NumberOfCuts <: MOI.AbstractOptimizerAttribute
146-
end
145+
struct NumberOfCuts <: MOI.AbstractOptimizerAttribute end
147146

148147
function MOI.get(opt::Optimizer, ::NumberOfCuts)
149148
return opt.num_cuts

test/JuMP_tests.jl

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

7777
function run_cut_test(test_function, opt)
7878
MOI.empty!(opt)
79-
@test MOI.get(opt, Pajarito.NumberOfCuts()) == 0
79+
@test MOI.get(opt, Pajarito.NumberOfCuts()) == 0
8080
test_function(opt)
8181
@test MOI.get(opt, Pajarito.NumberOfCuts()) > 0
8282
end

0 commit comments

Comments
 (0)