Skip to content

Commit

Permalink
Merge pull request #233 from danielwe/patch-1
Browse files Browse the repository at this point in the history
Remove unused iip type parameter
  • Loading branch information
ChrisRackauckas authored Oct 10, 2023
2 parents 0863817 + c2c7f3b commit 43a7387
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ad.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 43a7387

Please sign in to comment.