@@ -23,14 +23,16 @@ function scalar_nlsolve_ad(prob, alg, args...; kwargs...)
2323 return sol, partials
2424end
2525
26- function SciMLBase. solve (prob:: NonlinearProblem {<: Union{Number, StaticArraysCore.SVector} , iip,
26+ function SciMLBase. solve (prob:: NonlinearProblem {<: Union{Number, StaticArraysCore.SVector} ,
27+ iip,
2728 <: Dual{T, V, P} }, alg:: NewtonRaphson ,
2829 args... ; kwargs... ) where {iip, T, V, P}
2930 sol, partials = scalar_nlsolve_ad (prob, alg, args... ; kwargs... )
3031 return SciMLBase. build_solution (prob, alg, Dual {T, V, P} (sol. u, partials), sol. resid;
3132 retcode = sol. retcode)
3233end
33- function SciMLBase. solve (prob:: NonlinearProblem {<: Union{Number, StaticArraysCore.SVector} , iip,
34+ function SciMLBase. solve (prob:: NonlinearProblem {<: Union{Number, StaticArraysCore.SVector} ,
35+ iip,
3436 <: AbstractArray{<:Dual{T, V, P}} },
3537 alg:: NewtonRaphson , args... ; kwargs... ) where {iip, T, V, P}
3638 sol, partials = scalar_nlsolve_ad (prob, alg, args... ; kwargs... )
0 commit comments