From c1aa3e3744e1cfaf0869f29af120fd2d074a7335 Mon Sep 17 00:00:00 2001 From: Simon Byrne Date: Fri, 26 May 2017 14:01:59 -0500 Subject: [PATCH] fix deprecation --- base/deprecated.jl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/base/deprecated.jl b/base/deprecated.jl index 60fdfe48e834f..24a60d4ad6f91 100644 --- a/base/deprecated.jl +++ b/base/deprecated.jl @@ -1360,9 +1360,8 @@ function hex2num(s::AbstractString) return reinterpret(Float64, parse(UInt64, s, 16)) end -@deprecate num2hex(x::Union{Float16,Float32,Float64}) = - hex(reintepret(Unsigned, x), sizeof(x)*2) -@deprecate num2hex(n::Integer) = hex(n, sizeof(n)*2) +@deprecate num2hex(x::Union{Float16,Float32,Float64}) hex(reintepret(Unsigned, x), sizeof(x)*2) +@deprecate num2hex(n::Integer) hex(n, sizeof(n)*2) # END 0.7 deprecations