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 eee4313 commit 169bd9cCopy full SHA for 169bd9c
lib/BracketingNonlinearSolve/test/adjoint_tests.jl
@@ -4,7 +4,7 @@
4
ff(u, p) = u^2 .- p[1]
5
6
function solve_nlprob(p)
7
- prob = IntervalNonlinearProblem{false}(ff, [1.0, 2.0], p)
+ prob = IntervalNonlinearProblem{false}(ff, (1.0, 3.0), p)
8
sol = solve(prob, Broyden())
9
res = sol isa AbstractArray ? sol : sol.u
10
return sum(abs2, res)
0 commit comments