Skip to content

Commit 7fcf0d7

Browse files
prbzrgChrisRackauckas
authored andcommitted
delete the branch
1 parent 6dc3237 commit 7fcf0d7

File tree

1 file changed

+3
-15
lines changed

1 file changed

+3
-15
lines changed

src/solve.jl

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1027,11 +1027,7 @@ function solve_up(prob::Union{DEProblem, NonlinearProblem}, sensealg, u0, p, arg
10271027
_alg = prepare_alg(alg, _prob.u0, _prob.p, _prob)
10281028
check_prob_alg_pairing(_prob, alg) # use alg for improved inference
10291029
solve_call(_prob, _alg, Base.tail(args)...; kwargs...)
1030-
elseif isempty(args) # Default algorithm handling
1031-
_prob = get_concrete_problem(prob, !(typeof(prob) <: DiscreteProblem); u0 = u0,
1032-
p = p, kwargs...)
1033-
solve_call(_prob, args...; kwargs...)
1034-
else
1030+
else # Default algorithm handling
10351031
_prob = get_concrete_problem(prob, !(typeof(prob) <: DiscreteProblem); u0 = u0,
10361032
p = p, kwargs...)
10371033
solve_call(_prob, args...; kwargs...)
@@ -1430,11 +1426,7 @@ function _solve_adjoint(prob, sensealg, u0, p, originator, args...; merge_callba
14301426
elseif !isempty(args) && typeof(args[1]) <: DEAlgorithm
14311427
alg = args[1]
14321428
alg, get_concrete_problem(prob, isadaptive(alg); u0 = u0, p = p, kwargs...)
1433-
elseif isempty(args) # Default algorithm handling
1434-
alg = !(typeof(prob) <: DiscreteProblem)
1435-
alg, get_concrete_problem(prob, alg; u0 = u0, p = p,
1436-
kwargs...)
1437-
else
1429+
else # Default algorithm handling
14381430
alg = !(typeof(prob) <: DiscreteProblem)
14391431
alg, get_concrete_problem(prob, alg; u0 = u0, p = p,
14401432
kwargs...)
@@ -1468,11 +1460,7 @@ function _solve_forward(prob, sensealg, u0, p, originator, args...; merge_callba
14681460
elseif !isempty(args) && typeof(args[1]) <: DEAlgorithm
14691461
alg = args[1]
14701462
alg, get_concrete_problem(prob, isadaptive(alg); u0 = u0, p = p, kwargs...)
1471-
elseif isempty(args) # Default algorithm handling
1472-
alg = !(typeof(prob) <: DiscreteProblem)
1473-
alg, get_concrete_problem(prob, alg; u0 = u0, p = p,
1474-
kwargs...)
1475-
else
1463+
else # Default algorithm handling
14761464
alg = !(typeof(prob) <: DiscreteProblem)
14771465
alg, get_concrete_problem(prob, alg; u0 = u0, p = p,
14781466
kwargs...)

0 commit comments

Comments
 (0)