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 8a58c5f commit 68f7a0bCopy full SHA for 68f7a0b
test/ADtests.jl
@@ -48,11 +48,15 @@ end
48
49
sol = solve(prob, Optim.Newton())
50
@test 10 * sol.objective < l1
51
- @test sol.retcode == ReturnCode.Success
+ if adtype != AutoFiniteDiff()
52
+ @test sol.retcode == ReturnCode.Success
53
+ end
54
55
sol = solve(prob, Optim.KrylovTrustRegion())
56
57
58
59
60
61
sol = solve(prob, Optimization.LBFGS(), maxiters = 1000)
62
0 commit comments