From 6fe3b8e7e83a567bb2d88ce30edcd6daca7041db Mon Sep 17 00:00:00 2001 From: Simon Byrne Date: Fri, 11 Aug 2017 18:30:37 -0700 Subject: [PATCH] Correct typo in num2hex deprecation (#23222) Introduced by #22088. --- base/deprecated.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/deprecated.jl b/base/deprecated.jl index ab6ee91e54797..a9a5c93e269e5 100644 --- a/base/deprecated.jl +++ b/base/deprecated.jl @@ -1678,7 +1678,7 @@ 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(x::Union{Float16,Float32,Float64}) hex(reinterpret(Unsigned, x), sizeof(x)*2) @deprecate num2hex(n::Integer) hex(n, sizeof(n)*2) # PR #22742: change in isapprox semantics