diff --git a/src/ad.jl b/src/ad.jl index 88543ceb5..1af781e21 100644 --- a/src/ad.jl +++ b/src/ad.jl @@ -35,7 +35,7 @@ end function SciMLBase.solve(prob::NonlinearProblem{<:Union{Number, SVector, <:AbstractArray}, false, <:AbstractArray{<:Dual{T, V, P}}}, alg::AbstractNewtonAlgorithm, args...; - kwargs...) where {iip, T, V, P} + kwargs...) where {T, V, P} sol, partials = scalar_nlsolve_ad(prob, alg, args...; kwargs...) dual_soln = scalar_nlsolve_dual_soln(sol.u, partials, prob.p) return SciMLBase.build_solution(prob, alg, dual_soln, sol.resid; sol.retcode)