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},