Skip to content

Commit 5cb261d

Browse files
Use finite-difference AD for BVP default nonlinear solvers
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
1 parent e2b50b0 commit 5cb261d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/BoundaryValueDiffEqCore/src/default_internal_solve.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# resolved
77
function __FastShortcutBVPCompatibleNLLSPolyalg(
88
::Type{T} = Float64; concrete_jac = nothing,
9-
linsolve = nothing, autodiff = nothing, kwargs...
9+
linsolve = nothing, autodiff = AutoFiniteDiff(), kwargs...
1010
) where {T}
1111
if T <: Complex
1212
algs = (
@@ -30,7 +30,7 @@ end
3030

3131
function __FastShortcutBVPCompatibleNonlinearPolyalg(
3232
::Type{T} = Float64; concrete_jac = nothing,
33-
linsolve = nothing, autodiff = nothing
33+
linsolve = nothing, autodiff = AutoFiniteDiff()
3434
) where {T}
3535
if T <: Complex
3636
algs = (NewtonRaphson(; concrete_jac, linsolve, autodiff),)

0 commit comments

Comments
 (0)