You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
minimum(x::AbstractArray{Union{Missing, T},1}; threads =false) where T <:Union{INTEGERS, FLOATS, TimeType}=isempty(x) ?throw(ArgumentError("empty arrays are not allowed")) : threads ?hp_minimum(identity, x) :stat_minimum(identity, x)
9
9
minimum(x; threads =false) = Base.minimum(x)
10
10
#TODO not optimised for simd - threads option is useless here / it is here because we have it for other types of data
11
-
maximum(f, x::AbstractVector{Union{Missing, T}}; threads =false) where T <:AbstractString=mapreduce(f, _stat_max_fun, x)
12
-
minimum(f, x::AbstractVector{Union{Missing, T}}; threads =false) where T <:AbstractString=mapreduce(f, _stat_min_fun, x)
13
-
maximum(x::AbstractVector{Union{Missing, T}}; threads =false) where T <:AbstractString=maximum(identity, x)
14
-
minimum(x::AbstractVector{Union{Missing, T}}; threads =false) where T <:AbstractString=minimum(identity, x)
11
+
# using Union{Missing, AbstractString} force to fall back to this definition for Vector{Missing} Julia >= 1.9
12
+
ifVERSION>=v"1.9"
13
+
_TASM_14329 = Union{Missing, AbstractString}
14
+
else
15
+
_TASM_14329 = AbstractString
16
+
end
17
+
maximum(f, x::AbstractVector{Union{Missing, T}}; threads =false) where T <:_TASM_14329=mapreduce(f, _stat_max_fun, x)
18
+
minimum(f, x::AbstractVector{Union{Missing, T}}; threads =false) where T <:_TASM_14329=mapreduce(f, _stat_min_fun, x)
19
+
maximum(x::AbstractVector{Union{Missing, T}}; threads =false) where T <:_TASM_14329=maximum(identity, x)
20
+
minimum(x::AbstractVector{Union{Missing, T}}; threads =false) where T <:_TASM_14329=minimum(identity, x)
15
21
16
22
sum(f, x::AbstractArray{Union{Missing, T},1}; threads =false) where T <:Union{INTEGERS, FLOATS}=isempty(x) ?throw(ArgumentError("empty arrays are not allowed")) : threads ?hp_sum(f, x) :stat_sum(f, x)
0 commit comments