Skip to content

Commit

Permalink
Fix a deprecation warning (#1463)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidanthoff authored and ararslan committed Jul 29, 2018
1 parent 1c468d6 commit 56a9b72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/deprecated.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down

0 comments on commit 56a9b72

Please sign in to comment.