Skip to content

Commit 2f93d63

Browse files
authored
Apply suggestion from @klamike
1 parent 199bfac commit 2f93d63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/nlp_program.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -999,7 +999,7 @@ function test_reverse_bounds_upper()
999999
@variable(model, p in MOI.Parameter(4.5))
10001000
@constraint(model, 6x[1] + 3x[2] + 2x[3] == -p)
10011001
@constraint(model, x[1] + x[2] - x[3] == -1)
1002-
@objective(model, Min, sum(x.^2))
1002+
@objective(model, Min, sum(x .^ 2))
10031003
optimize!(model)
10041004
MOI.set(model, DiffOpt.ReverseConstraintDual(), UpperBoundRef(x[3]), 1.0)
10051005
DiffOpt.reverse_differentiate!(model)

0 commit comments

Comments
 (0)