Skip to content

Commit

Permalink
dumb typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jClugstor committed Nov 6, 2024
1 parent 200191d commit eba506d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/OrdinaryDiffEqCore/src/misc_utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,12 @@ end
isnewton(::Any) = false


function _bool_to_ADType(::Val{true}, chunk_size, diff_type)
function _bool_to_ADType(::Val{true}, chunksize, diff_type)
Base.depwarn("Using a `Bool` for keyword argument `autodiff` is deprecated. Please use an `ADType` specifier.", :_bool_to_ADType)
typeof(AutoForwardDiff(chunk_size = SciMLBase._unwrap_val(chunksize)))
typeof(AutoForwardDiff(chunksize = SciMLBase._unwrap_val(chunksize)))
end

function _bool_to_ADType(::Val{false}, chunk_size, diff_type)
function _bool_to_ADType(::Val{false}, chunksize, diff_type)
Base.depwarn("Using a `Bool` for keyword argument `autodiff` is deprecated. Please use an `ADType` specifier.", :_bool_to_ADType)
typeof(AutoFiniteDiff(fdtype = diff_type))
end
Expand Down

0 comments on commit eba506d

Please sign in to comment.