Skip to content

Commit

Permalink
Remove unused iip type parameter
Browse files Browse the repository at this point in the history
Did you miss this in #232? Gives a warning during precompilation.
  • Loading branch information
danielwe authored Oct 10, 2023
1 parent 0863817 commit c2c7f3b
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 c2c7f3b

Please sign in to comment.