Skip to content

Commit 601bc33

Browse files
committed
replace uninitialized -> undef
1 parent 5ae1b00 commit 601bc33

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/containers.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,13 +97,13 @@ end
9797
const BitArrays = Union{BitArray,BitVector,BitMatrix}
9898

9999
rand(r::AbstractRNG, ::Type{T}, dims::Dims) where {T<:BitArrays} =
100-
rand!(r, T(uninitialized, dims))
100+
rand!(r, T(undef, dims))
101101

102102
rand(r::AbstractRNG, ::Type{T}, dims::Integer...) where {T<:BitArrays} =
103-
rand!(r, T(uninitialized, convert(Dims, dims)))
103+
rand!(r, T(undef, convert(Dims, dims)))
104104

105105
rand(::Type{T}, dims::Dims) where {T<:BitArrays} =
106-
rand!(T(uninitialized, dims))
106+
rand!(T(undef, dims))
107107

108108
rand(::Type{T}, dims::Integer...) where {T<:BitArrays} =
109-
rand!(T(uninitialized, convert(Dims, dims)))
109+
rand!(T(undef, convert(Dims, dims)))

0 commit comments

Comments
 (0)