We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df50b90 commit 14bb3bcCopy full SHA for 14bb3bc
lib/OrdinaryDiffEqCore/src/misc_utils.jl
@@ -140,7 +140,7 @@ end
140
141
function _bool_to_ADType(::Val{false}, chunksize, diff_type)
142
Base.depwarn("Using a `Bool` for keyword argument `autodiff` is deprecated. Please use an `ADType` specifier.", :_bool_to_ADType)
143
- return AutoFiniteDiff(fdtype = diff_type())
+ return AutoFiniteDiff(fdtype = diff_type)
144
end
145
146
# Functions to get ADType type from Bool or ADType object, or ADType type
0 commit comments