Skip to content

Commit 65a5928

Browse files
authored
Delete old deprecation (#58)
Julia 1.0 dropped this deprecation
1 parent 6e5f40d commit 65a5928

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/NaNMath.jl

-4
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@ for f in (:sin, :cos, :tan, :asin, :acos, :acosh, :atanh, :log, :log2, :log10,
99
($f)(x::Float64) = ccall(($(string(f)),libm), Float64, (Float64,), x)
1010
($f)(x::Float32) = ccall(($(string(f,"f")),libm), Float32, (Float32,), x)
1111
($f)(x::Real) = ($f)(float(x))
12-
function ($f)(x::AbstractArray{T}) where T<:Number
13-
Base.depwarn("$f{T<:Number}(x::AbstractArray{T}) is deprecated, use $f.(x) instead.", $f)
14-
return ($f).(x)
15-
end
1612
end
1713
end
1814

0 commit comments

Comments
 (0)