You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When solving a nonlinear system of equations with NewtonRaphson, LinesearchJL and AutoFiniteDiff, one gets a warning. See
using NonlinearSolve
f(u, p) = u .* u .- p
u0 = [1.0, 1.0]
p = 2.0
prob = NonlinearProblem(f, u0, p)
sol = solve(prob,NewtonRaphson(autodiff=AutoFiniteDiff(), linesearch = LineSearchesJL()))
triggers the following message:
AutoFiniteDiff{Val{:forward}, Val{:forward}, Val{:hcentral}}(Val{:forward}(), Val{:forward}(), Val{:hcentral}())
::AutoFiniteDiff{Val{:forward}, Val{:forward}, Val{:hcentral}} is not a `ReverseMode`. Use with caution.
retcode: Success
u: 2-element Vector{Float64}:
1.4142135623730951
1.4142135623730951
The text was updated successfully, but these errors were encountered:
When solving a nonlinear system of equations with
NewtonRaphson
,LinesearchJL
andAutoFiniteDiff
, one gets a warning. Seetriggers the following message:
The text was updated successfully, but these errors were encountered: