@@ -57,22 +57,21 @@ function rosenbrock_wolfbrandt_docstring(description::String,
5757 """ * extra_keyword_default
5858
5959 keyword_default_description = """
60- - `chunk_size`: The chunk size used with ForwardDiff.jl. Defaults to `Val{0}()`
61- and thus uses the internal ForwardDiff.jl algorithm for the choice.
6260 - `standardtag`: Specifies whether to use package-specific tags instead of the
6361 ForwardDiff default function-specific tags. For more information, see
6462 [this blog post](https://www.stochasticlifestyle.com/improved-forwarddiff-jl-stacktraces-with-package-tags/).
6563 Defaults to `Val{true}()`.
66- - `autodiff`: Specifies whether to use automatic differentiation via
64+ - `autodiff`: Uses [ADTypes.jl](https://sciml.github.io/ADTypes.jl/stable/)
65+ to specify whether to use automatic differentiation via
6766 [ForwardDiff.jl](https://github.com/JuliaDiff/ForwardDiff.jl) or finite
68- differencing via [FiniteDiff.jl](https://github.com/JuliaDiff/FiniteDiff.jl).
69- Defaults to `Val{true}()` for automatic differentiation.
67+ differencing via [FiniteDiff.jl](https://github.com/JuliaDiff/FiniteDiff.jl).
68+ Defaults to `AutoForwardDiff()` for automatic differentiation, which by default uses
69+ `chunksize = 0`, and thus uses the internal ForwardDiff.jl algorithm for the choice.
70+ To use `FiniteDiff.jl`, the `AutoFiniteDiff()` ADType can be used, which has a keyword argument
71+ `fdtype` with default value `Val{:forward}()`, and alternatives `Val{:central}()` and `Val{:complex}()`.
7072 - `concrete_jac`: Specifies whether a Jacobian should be constructed. Defaults to
7173 `nothing`, which means it will be chosen true/false depending on circumstances
7274 of the solver, such as whether a Krylov subspace method is used for `linsolve`.
73- - `diff_type`: The type of differentiation used in FiniteDiff.jl if `autodiff=false`.
74- Defaults to `Val{:forward}`, with alternatives of `Val{:central}` and
75- `Val{:complex}`.
7675 - `linsolve`: Any [LinearSolve.jl](https://github.com/SciML/LinearSolve.jl) compatible linear solver.
7776 For example, to use [KLU.jl](https://github.com/JuliaSparse/KLU.jl), specify
7877 `$name (linsolve = KLUFactorization()`).
@@ -131,22 +130,21 @@ function rosenbrock_docstring(description::String,
131130 extra_keyword_default = " " ,
132131 with_step_limiter = false )
133132 keyword_default = """
134- - `chunk_size`: The chunk size used with ForwardDiff.jl. Defaults to `Val{0}()`
135- and thus uses the internal ForwardDiff.jl algorithm for the choice.
136133 - `standardtag`: Specifies whether to use package-specific tags instead of the
137134 ForwardDiff default function-specific tags. For more information, see
138135 [this blog post](https://www.stochasticlifestyle.com/improved-forwarddiff-jl-stacktraces-with-package-tags/).
139136 Defaults to `Val{true}()`.
140- - `autodiff`: Specifies whether to use automatic differentiation via
137+ - `autodiff`: Uses [ADTypes.jl](https://sciml.github.io/ADTypes.jl/stable/)
138+ to specify whether to use automatic differentiation via
141139 [ForwardDiff.jl](https://github.com/JuliaDiff/ForwardDiff.jl) or finite
142- differencing via [FiniteDiff.jl](https://github.com/JuliaDiff/FiniteDiff.jl).
143- Defaults to `Val{true}()` for automatic differentiation.
140+ differencing via [FiniteDiff.jl](https://github.com/JuliaDiff/FiniteDiff.jl).
141+ Defaults to `AutoForwardDiff()` for automatic differentiation, which by default uses
142+ `chunksize = 0`, and thus uses the internal ForwardDiff.jl algorithm for the choice.
143+ To use `FiniteDiff.jl`, the `AutoFiniteDiff()` ADType can be used, which has a keyword argument
144+ `fdtype` with default value `Val{:forward}()`, and alternatives `Val{:central}()` and `Val{:complex}()`.
144145 - `concrete_jac`: Specifies whether a Jacobian should be constructed. Defaults to
145146 `nothing`, which means it will be chosen true/false depending on circumstances
146147 of the solver, such as whether a Krylov subspace method is used for `linsolve`.
147- - `diff_type`: The type of differentiation used in FiniteDiff.jl if `autodiff=false`.
148- Defaults to `Val{:forward}`, with alternatives of `Val{:central}` and
149- `Val{:complex}`.
150148 - `linsolve`: Any [LinearSolve.jl](https://github.com/SciML/LinearSolve.jl) compatible linear solver.
151149 For example, to use [KLU.jl](https://github.com/JuliaSparse/KLU.jl), specify
152150 `$name (linsolve = KLUFactorization()`).
0 commit comments