From 65a59288ab07211517bab671253d76644b204564 Mon Sep 17 00:00:00 2001 From: Miles Lubin Date: Sat, 16 Jul 2022 11:13:44 -0400 Subject: [PATCH] Delete old deprecation (#58) Julia 1.0 dropped this deprecation --- src/NaNMath.jl | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/NaNMath.jl b/src/NaNMath.jl index 994c539..e846f83 100644 --- a/src/NaNMath.jl +++ b/src/NaNMath.jl @@ -9,10 +9,6 @@ for f in (:sin, :cos, :tan, :asin, :acos, :acosh, :atanh, :log, :log2, :log10, ($f)(x::Float64) = ccall(($(string(f)),libm), Float64, (Float64,), x) ($f)(x::Float32) = ccall(($(string(f,"f")),libm), Float32, (Float32,), x) ($f)(x::Real) = ($f)(float(x)) - function ($f)(x::AbstractArray{T}) where T<:Number - Base.depwarn("$f{T<:Number}(x::AbstractArray{T}) is deprecated, use $f.(x) instead.", $f) - return ($f).(x) - end end end