From c49d2fcc8a5e97bc6b1a58e418f213b37ac87158 Mon Sep 17 00:00:00 2001 From: David Anthoff Date: Thu, 26 Jul 2018 11:44:28 -0700 Subject: [PATCH] Fix a deprecation warning --- src/deprecated.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/deprecated.jl b/src/deprecated.jl index f5e187b1e5..233fe36246 100644 --- a/src/deprecated.jl +++ b/src/deprecated.jl @@ -529,7 +529,7 @@ function bytestotype(::Type{N}, end end -let out = Vector{Float64}(1) +let out = Vector{Float64}(undef, 1) global bytestotype function bytestotype(::Type{N}, bytes::Vector{UInt8},