File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,9 @@ recursive_one(a::T) where {T<:Number} = one(a)
9696recursive_bottom_eltype (a) = recursive_bottom_eltype (eltype (a))
9797recursive_bottom_eltype (a:: Type{T} ) where {T<: Number } = eltype (a)
9898
99- recursive_unitless_bottom_eltype (a) = recursive_unitless_bottom_eltype (eltype (a))
99+ recursive_unitless_bottom_eltype (a) = recursive_unitless_bottom_eltype (typeof (a))
100+ recursive_unitless_bottom_eltype (a:: Type{T} ) where T = recursive_unitless_bottom_eltype (eltype (a))
101+ recursive_unitless_bottom_eltype (a:: Type{T} ) where {T<: AbstractArray } = recursive_unitless_bottom_eltype (eltype (a))
100102recursive_unitless_bottom_eltype (a:: Type{T} ) where {T<: Number } = typeof (one (eltype (a)))
101103
102104recursive_unitless_eltype (a) = recursive_unitless_eltype (eltype (a))
You can’t perform that action at this time.
0 commit comments