@@ -26,15 +26,15 @@ function scalar_nlsolve_ad(prob, alg, args...; kwargs...)
26
26
end
27
27
28
28
function SciMLBase. solve (prob:: NonlinearProblem {<: Union{Number, SVector, <:AbstractArray} ,
29
- iip , <: Dual{T, V, P} }, alg:: AbstractNewtonAlgorithm , args... ;
30
- kwargs... ) where {iip, T, V, P}
29
+ false , <: Dual{T, V, P} }, alg:: AbstractNewtonAlgorithm , args... ;
30
+ kwargs... ) where {T, V, P}
31
31
sol, partials = scalar_nlsolve_ad (prob, alg, args... ; kwargs... )
32
32
dual_soln = scalar_nlsolve_dual_soln (sol. u, partials, prob. p)
33
33
return SciMLBase. build_solution (prob, alg, dual_soln, sol. resid; sol. retcode)
34
34
end
35
35
36
36
function SciMLBase. solve (prob:: NonlinearProblem {<: Union{Number, SVector, <:AbstractArray} ,
37
- iip , <: AbstractArray{<:Dual{T, V, P}} }, alg:: AbstractNewtonAlgorithm , args... ;
37
+ false , <: AbstractArray{<:Dual{T, V, P}} }, alg:: AbstractNewtonAlgorithm , args... ;
38
38
kwargs... ) where {iip, T, V, P}
39
39
sol, partials = scalar_nlsolve_ad (prob, alg, args... ; kwargs... )
40
40
dual_soln = scalar_nlsolve_dual_soln (sol. u, partials, prob. p)
0 commit comments