You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/OrdinaryDiffEqCore/src/misc_utils.jl
+11-1Lines changed: 11 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -158,10 +158,11 @@ end
158
158
function_process_AD_choice(
159
159
ad_alg::AutoForwardDiff{CS}, ::Val{CS2}, ::Val{FD}) where {CS, CS2, FD}
160
160
# Non-default `chunk_size`
161
-
if CS2 !=0
161
+
if(CS2 !=0) && (isnothing(CS) || (CS2 !== CS))
162
162
@warn"The `chunk_size` keyword is deprecated. Please use an `ADType` specifier. For now defaulting to using `AutoForwardDiff` with `chunksize=$(CS2)`."
0 commit comments