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)
86
86
recursive_unitless_bottom_eltype (a:: Type{T} ) where T = recursive_unitless_bottom_eltype (eltype (a))
87
87
recursive_unitless_bottom_eltype (a:: Type{T} ) where {T<: AbstractArray } = recursive_unitless_bottom_eltype (eltype (a))
88
88
recursive_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
90
90
91
91
recursive_unitless_eltype (a) = recursive_unitless_eltype (eltype (a))
92
92
recursive_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