diff --git a/lib/OrdinaryDiffEqCore/src/alg_utils.jl b/lib/OrdinaryDiffEqCore/src/alg_utils.jl index c1c2a8a977..048bd46b01 100644 --- a/lib/OrdinaryDiffEqCore/src/alg_utils.jl +++ b/lib/OrdinaryDiffEqCore/src/alg_utils.jl @@ -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