Skip to content

Commit 59e4751

Browse files
authored
Update test/MOI_wrapper.jl
1 parent 60b90de commit 59e4751

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/MOI_wrapper.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ function test_not_dcp_objective_min()
151151
)
152152
x = MOI.add_variable(model)
153153
g = MOI.ScalarNonlinearFunction(:^, Any[x, 2])
154-
f = MOI.ScalarNonlinearFunction(:-, Any[f])
154+
f = MOI.ScalarNonlinearFunction(:-, Any[g])
155155
MOI.set(model, MOI.ObjectiveSense(), MOI.MIN_SENSE)
156156
attr = MOI.ObjectiveFunction{typeof(f)}()
157157
MOI.set(model, attr, f)

0 commit comments

Comments
 (0)