File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ recursive_unitless_bottom_eltype(a) = recursive_unitless_bottom_eltype(typeof(a)
8686recursive_unitless_bottom_eltype (a:: Type{T} ) where T = recursive_unitless_bottom_eltype (eltype (a))
8787recursive_unitless_bottom_eltype (a:: Type{T} ) where {T<: AbstractArray } = recursive_unitless_bottom_eltype (eltype (a))
8888recursive_unitless_bottom_eltype (a:: Type{T} ) where {T<: Number } = eltype (a) == Number ? Float64 : typeof (one (eltype (a)))
89- recursive_unitless_bottom_eltype (:: Type{Enum{T}} ) where T = T
89+ recursive_unitless_bottom_eltype (:: Type{<: Enum{T}} ) where T = T
9090
9191recursive_unitless_eltype (a) = recursive_unitless_eltype (eltype (a))
9292recursive_unitless_eltype (a:: Type{T} ) where {T<: StaticArray } = similar_type (a,recursive_unitless_eltype (eltype (a)))
You can’t perform that action at this time.
0 commit comments