Skip to content

Commit

Permalink
Update test/MOI_wrapper.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
odow authored Sep 26, 2023
1 parent f94a849 commit 4f60551
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 @@ -449,7 +449,7 @@ function test_copy_to_bug_172()
index_map = MOI.copy_to(h, model)
y = index_map[x]
@test MOI.get(h, MOI.ConstraintFunction(), index_map[c1]) 2.0 * y
@test MOI.get(h, MOI.ConstraintFunction(), index_map[c2]) g
@test MOI.get(h, MOI.ConstraintFunction(), index_map[c2]) zero(F)
@test MOI.get(h, MOI.ConstraintFunction(), index_map[c3]) 1.0 * y
@test MOI.get(h, MOI.ConstraintSet(), index_map[c1]) == MOI.GreaterThan(0.0)
@test MOI.get(h, MOI.ConstraintSet(), index_map[c2]) == MOI.GreaterThan(0.0)
Expand Down

0 comments on commit 4f60551

Please sign in to comment.