Skip to content

Commit b50726f

Browse files
Update src/ad.jl
Co-authored-by: Christopher Rackauckas <accounts@chrisrackauckas.com>
1 parent d85408e commit b50726f

File tree

1 file changed

+1
-1
lines changed
  • lib/SimpleNonlinearSolve/src

1 file changed

+1
-1
lines changed

lib/SimpleNonlinearSolve/src/ad.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ for algType in (Bisection, Brent, Alefeld, Falsi, ITP, Ridder)
4242
end
4343

4444
function __nlsolve_ad(
45-
prob::Union{IntervalNonlinearProblem, ImmutableNonlinearProblem}, alg, args...; kwargs...)
45+
prob::Union{IntervalNonlinearProblem, NonlinearProblem, ImmutableNonlinearProblem}, alg, args...; kwargs...)
4646
p = value(prob.p)
4747
if prob isa IntervalNonlinearProblem
4848
tspan = value.(prob.tspan)

0 commit comments

Comments
 (0)