We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ee5bf5 commit 794dd56Copy full SHA for 794dd56
test/jump.jl
@@ -67,7 +67,7 @@ end
67
68
DiffOpt.reverse_differentiate!(model)
69
70
- grad_constraint = JuMP.constant(MOI.get(model, DiffOpt.ReverseConstraintFunction(), ctr_le[]))
+ grad_constraint = JuMP.constant(MOI.get(model, DiffOpt.ReverseConstraintFunction(), ctr_le[1]))
71
@test grad_constraint ≈ -1.0 atol=ATOL rtol=RTOL
72
73
# Test some overloads from https://github.com/jump-dev/DiffOpt.jl/issues/211
0 commit comments