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 Dec 10, 2024
1 parent 60b90de commit 59e4751
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 @@ -151,7 +151,7 @@ function test_not_dcp_objective_min()
)
x = MOI.add_variable(model)
g = MOI.ScalarNonlinearFunction(:^, Any[x, 2])
f = MOI.ScalarNonlinearFunction(:-, Any[f])
f = MOI.ScalarNonlinearFunction(:-, Any[g])
MOI.set(model, MOI.ObjectiveSense(), MOI.MIN_SENSE)
attr = MOI.ObjectiveFunction{typeof(f)}()
MOI.set(model, attr, f)
Expand Down

0 comments on commit 59e4751

Please sign in to comment.