Skip to content

Commit 0a9b8f3

Browse files
Update DiffEqBaseForwardDiffExt.jl
1 parent 989b19a commit 0a9b8f3

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

ext/DiffEqBaseForwardDiffExt.jl

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -435,18 +435,13 @@ function anyeltypedual(x::Tuple, ::Type{Val{counter}} = Val{0}) where {counter}
435435
diffeqmapreduce(anyeltypedual, promote_dual, x)
436436
end
437437
end
438-
function anyeltypedual(x::Dict, ::Type{Val{counter}} = Val{0}) where {counter}
438+
function anyeltypedual(x::AbstractDict, ::Type{Val{counter}} = Val{0}) where {counter}
439439
isempty(x) ? eltype(values(x)) : mapreduce(anyeltypedual, promote_dual, values(x))
440440
end
441441
function anyeltypedual(x::NamedTuple, ::Type{Val{counter}} = Val{0}) where {counter}
442442
anyeltypedual(values(x))
443443
end
444444

445-
function anyeltypedual(
446-
x::AbstractDict, ::Type{Val{counter}}) where {counter}
447-
anyeltypedual(keys(x))
448-
end
449-
450445
function anyeltypedual(
451446
f::SciMLBase.AbstractSciMLFunction, ::Type{Val{counter}}) where {counter}
452447
Any

0 commit comments

Comments
 (0)