Skip to content

Commit e1025d2

Browse files
jClugstorChrisRackauckas
authored andcommitted
make solve algorithms use __solve
1 parent 80b4c36 commit e1025d2

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

lib/BracketingNonlinearSolve/src/alefeld.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ algorithm 4.1 because, in certain sense, the second algorithm(4.2) is an optimal
88
"""
99
struct Alefeld <: AbstractBracketingAlgorithm end
1010

11-
function CommonSolve.solve(
11+
function SciMLBase.__solve(
1212
prob::IntervalNonlinearProblem, alg::Alefeld, args...;
1313
maxiters = 1000, abstol = nothing, kwargs...
1414
)

lib/BracketingNonlinearSolve/src/bisection.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ A common bisection method.
1919
exact_right::Bool = false
2020
end
2121

22-
function CommonSolve.solve(
22+
function SciMLBase.__solve(
2323
prob::IntervalNonlinearProblem, alg::Bisection, args...;
2424
maxiters = 1000, abstol = nothing, verbose::Bool = true, kwargs...
2525
)

lib/BracketingNonlinearSolve/src/brent.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Left non-allocating Brent method.
55
"""
66
struct Brent <: AbstractBracketingAlgorithm end
77

8-
function CommonSolve.solve(
8+
function SciMLBase.__solve(
99
prob::IntervalNonlinearProblem, alg::Brent, args...;
1010
maxiters = 1000, abstol = nothing, verbose::Bool = true, kwargs...
1111
)

lib/BracketingNonlinearSolve/src/falsi.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ A non-allocating regula falsi method.
55
"""
66
struct Falsi <: AbstractBracketingAlgorithm end
77

8-
function CommonSolve.solve(
8+
function SciMLBase.__solve(
99
prob::IntervalNonlinearProblem, alg::Falsi, args...;
1010
maxiters = 1000, abstol = nothing, verbose::Bool = true, kwargs...
1111
)

lib/BracketingNonlinearSolve/src/itp.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ function ITP(; scaled_k1::Real = 0.2, k2::Real = 2, n0::Int = 10)
5656
return ITP(scaled_k1, k2, n0)
5757
end
5858

59-
function CommonSolve.solve(
59+
function SciMLBase.__solve(
6060
prob::IntervalNonlinearProblem, alg::ITP, args...;
6161
maxiters = 1000, abstol = nothing, verbose::Bool = true, kwargs...
6262
)

lib/BracketingNonlinearSolve/src/muller.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ end
2727

2828
Muller() = Muller(nothing)
2929

30-
function CommonSolve.solve(prob::IntervalNonlinearProblem, alg::Muller, args...;
30+
function SciMLBase.__solve(prob::IntervalNonlinearProblem, alg::Muller, args...;
3131
abstol = nothing, maxiters = 1000, kwargs...)
3232
@assert !SciMLBase.isinplace(prob) "`Muller` only supports out-of-place problems."
3333
xᵢ₋₂, xᵢ = prob.tspan

lib/BracketingNonlinearSolve/src/ridder.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ A non-allocating ridder method.
55
"""
66
struct Ridder <: AbstractBracketingAlgorithm end
77

8-
function CommonSolve.solve(
8+
function SciMLBase.__solve(
99
prob::IntervalNonlinearProblem, alg::Ridder, args...;
1010
maxiters = 1000, abstol = nothing, verbose::Bool = true, kwargs...
1111
)

0 commit comments

Comments
 (0)