Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
odow committed Aug 21, 2024
1 parent bb7be38 commit d1f3b39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/MOI_wrapper.jl
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ function test_get_objective_function()
MOI.set(model, MOI.ObjectiveFunction{MOI.VariableIndex}(), x)
@test MOI.get(model, MOI.ObjectiveFunction{MOI.VariableIndex}()) == x
F = MOI.ScalarAffineFunction{Float64}
@test MOI.get(model, MOI.ObjectiveFunction{F}()) == 1.0 * x
@test isapprox(MOI.get(model, MOI.ObjectiveFunction{F}()), 1.0 * x)
return
end

Expand Down

0 comments on commit d1f3b39

Please sign in to comment.