|
1 | 1 | """ |
2 | 2 | ```julia |
3 | | -Halley(; chunk_size = Val{0}(), autodiff = Val{true}(), |
| 3 | +SimpleHalley(; chunk_size = Val{0}(), autodiff = Val{true}(), |
4 | 4 | diff_type = Val{:forward}) |
5 | 5 | ``` |
6 | 6 |
|
@@ -28,16 +28,16 @@ and static array problems. |
28 | 28 | `Val{:forward}` for forward finite differences. For more details on the choices, see the |
29 | 29 | [FiniteDiff.jl](https://github.com/JuliaDiff/FiniteDiff.jl) documentation. |
30 | 30 | """ |
31 | | -struct Halley{CS, AD, FDT} <: AbstractNewtonAlgorithm{CS, AD, FDT} |
32 | | - function Halley(; chunk_size = Val{0}(), autodiff = Val{true}(), |
| 31 | +struct SimpleHalley{CS, AD, FDT} <: AbstractNewtonAlgorithm{CS, AD, FDT} |
| 32 | + function SimpleHalley(; chunk_size = Val{0}(), autodiff = Val{true}(), |
33 | 33 | diff_type = Val{:forward}) |
34 | 34 | new{SciMLBase._unwrap_val(chunk_size), SciMLBase._unwrap_val(autodiff), |
35 | 35 | SciMLBase._unwrap_val(diff_type)}() |
36 | 36 | end |
37 | 37 | end |
38 | 38 |
|
39 | 39 | function SciMLBase.__solve(prob::NonlinearProblem, |
40 | | - alg::Halley, args...; abstol = nothing, |
| 40 | + alg::SimpleHalley, args...; abstol = nothing, |
41 | 41 | reltol = nothing, |
42 | 42 | maxiters = 1000, kwargs...) |
43 | 43 | f = Base.Fix2(prob.f, prob.p) |
|
0 commit comments