From 93a6f5f9ee3d78b43ab53893ca12600da64fcf57 Mon Sep 17 00:00:00 2001 From: Simon Byrne Date: Tue, 10 Oct 2023 16:27:48 -0700 Subject: [PATCH] remove iip function parameter --- src/ad.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)