File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -99,10 +99,10 @@ recursive_bottom_eltype(a::Type{T}) where {T<:Number} = eltype(a)
9999recursive_unitless_bottom_eltype (a) = recursive_unitless_bottom_eltype (eltype (a))
100100recursive_unitless_bottom_eltype (a:: Type{T} ) where {T<: Number } = typeof (one (eltype (a)))
101101
102- Base . @pure recursive_unitless_eltype (a) = recursive_unitless_eltype (eltype (a))
103- Base . @pure recursive_unitless_eltype (a:: Type{T} ) where {T<: StaticArray } = similar_type (a,recursive_unitless_eltype (eltype (a)))
104- Base . @pure recursive_unitless_eltype (a:: Type{T} ) where {T<: Array } = Array{recursive_unitless_eltype (eltype (a)),ndims (a)}
105- Base . @pure recursive_unitless_eltype (a:: Type{T} ) where {T<: Number } = typeof (one (eltype (a)))
102+ recursive_unitless_eltype (a) = recursive_unitless_eltype (eltype (a))
103+ recursive_unitless_eltype (a:: Type{T} ) where {T<: StaticArray } = similar_type (a,recursive_unitless_eltype (eltype (a)))
104+ recursive_unitless_eltype (a:: Type{T} ) where {T<: Array } = Array{recursive_unitless_eltype (eltype (a)),ndims (a)}
105+ recursive_unitless_eltype (a:: Type{T} ) where {T<: Number } = typeof (one (eltype (a)))
106106
107107recursive_mean (x... ) = mean (x... )
108108function recursive_mean (vecvec:: Vector{T} ) where T<: AbstractArray
You can’t perform that action at this time.
0 commit comments