Skip to content
This repository was archived by the owner on May 15, 2025. It is now read-only.

Commit 5161d6f

Browse files
committed
Dispatch on solve directly and forward to __solve
1 parent 5e71f5c commit 5161d6f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/SimpleNonlinearSolve.jl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,12 @@ function SciMLBase.solve(prob::IntervalNonlinearProblem, alg::Nothing,
5959
return solve(prob, ITP(), args...; kwargs...)
6060
end
6161

62+
# By Pass the highlevel checks for NonlinearProblem for Simple Algorithms
63+
function SciMLBase.solve(prob::NonlinearProblem, alg::AbstractSimpleNonlinearSolveAlgorithm,
64+
args...; kwargs...)
65+
return SciMLBase.__solve(prob, alg, args...; kwargs...)
66+
end
67+
6268
@setup_workload begin
6369
for T in (Float32, Float64)
6470
prob_no_brack_scalar = NonlinearProblem{false}((u, p) -> u .* u .- p, T(0.1), T(2))

0 commit comments

Comments
 (0)