Skip to content

Commit c4b39a9

Browse files
committed
Fix Julia 1.0 deprecations in test code
1 parent 507b05d commit c4b39a9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/array_of_similar_arrays.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ using UnsafeArrays
2020
sz_inner = ntuple(i -> sz_max[i], Val_M)
2121
sz_outer = ntuple(i -> sz_max[i + M], Val_N)
2222

23-
A = Array{Array{Float64, M}, N}(uninitialized, sz_outer...)
23+
A = Array{Array{Float64, M}, N}(undef, sz_outer...)
2424
for i in eachindex(A)
2525
A[i] = rand(sz_inner...)
2626
end
@@ -108,4 +108,3 @@ using UnsafeArrays
108108
test_from_nested(VectorOfSimilarVectors, VectorOfSimilarVectors{Float64,Array{Float64,2}}, Val(1), Val(1))
109109
end
110110
end
111-

0 commit comments

Comments
 (0)