Skip to content

Commit 08087ce

Browse files
committed
move from Union to AbstractNonlinearProblem
1 parent bba01be commit 08087ce

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/NonlinearSolveBase/src/solve.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,8 @@ function init(
389389
init_up(prob, sensealg, u0, p, args...; kwargs...)
390390
end
391391

392-
function init_up(prob::AbstractNonlinearProblem, sensealg, u0, p, args...; kwargs...)
392+
function init_up(prob::AbstractNonlinearProblem,
393+
sensealg, u0, p, args...; kwargs...)
393394
alg = extract_alg(args, kwargs, has_kwargs(prob) ? prob.kwargs : kwargs)
394395
if isnothing(alg) || !(alg isa AbstractNonlinearAlgorithm) # Default algorithm handling
395396
_prob = get_concrete_problem(prob, true; u0 = u0,

0 commit comments

Comments
 (0)