Skip to content

Commit

Permalink
change to chunksize 1 for fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
jClugstor committed Nov 12, 2024
1 parent 01b6f0c commit 0f40b99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/OrdinaryDiffEqCore/src/alg_utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ end

_get_fwd_chunksize(::Type{AutoForwardDiff{CS, T}}) where {CS, T} = Val(CS)
_get_fwd_chunksize_int(::Type{AutoForwardDiff{CS, T}}) where {CS, T} = CS
_get_fwd_chunksize(AD) = Val(nothing)
_get_fwd_chunksize_int(AD) = nothing
_get_fwd_chunksize(AD) = Val(1)
_get_fwd_chunksize_int(AD) = 1
_get_fwd_tag(::AutoForwardDiff{CS,T}) where {CS,T} = T

_get_fdtype(::AutoFiniteDiff{T1, T2, T3}) where {T1, T2, T3} = T1
Expand Down

0 comments on commit 0f40b99

Please sign in to comment.