Skip to content

Commit

Permalink
remove cruft
Browse files Browse the repository at this point in the history
  • Loading branch information
jClugstor committed Nov 18, 2024
1 parent 52e6863 commit 9a28b2a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 11 deletions.
5 changes: 0 additions & 5 deletions lib/OrdinaryDiffEqCore/src/alg_utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -457,8 +457,3 @@ function Base.show(io::IO, ::MIME"text/plain", alg::OrdinaryDiffEqAlgorithm)
end
print(io, ")")
end


#function get_chunksize(alg::AutoForwardDiff{CS}) where {CS}
# Val(CS)
#end
1 change: 0 additions & 1 deletion lib/OrdinaryDiffEqCore/src/algorithms.jl
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ struct CompositeAlgorithm{CS, T, F} <: OrdinaryDiffEqCompositeAlgorithm
algs::T
choice_function::F
function CompositeAlgorithm(algs::T, choice_function::F) where {T, F}
#CS = mapreduce(alg -> has_chunksize(alg) ? get_chunksize_int(alg) : 0, max, algs)
CS = mapreduce(alg -> 0, max, algs)
new{CS, T, F}(algs, choice_function)
end
Expand Down
5 changes: 0 additions & 5 deletions lib/OrdinaryDiffEqCore/src/misc_utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,3 @@ function _process_AD_choice(ad_alg::AbstractADType, chunksize, diff_type)

ad_alg
end


_ADType_to_Bool(::Type{T}) where {T <: AutoForwardDiff} = true

_ADType_to_Bool(::Type{T}) where {T <: AutoFiniteDiff} = false

0 comments on commit 9a28b2a

Please sign in to comment.