We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6df19ad commit 2d23bacCopy full SHA for 2d23bac
test/abstractarray.jl
@@ -614,6 +614,18 @@ A = TSlowNIndexes(rand(2,2))
614
@test @inferred(indices(rand(3,2), 3)) == 1:1
615
616
#17088
617
-let M = rand(10,10)
618
- @test !issparse([[M] [M];])
+let
+ n = 10
619
+ M = rand(n, n)
620
+ # vector of vectors
621
+ v = [[M]; [M]] # using vcat
622
+ @test size(v) == (2,)
623
+ @test !issparse(v)
624
+ # matrix of vectors
625
+ m1 = [[M] [M]] # using hcat
626
+ m2 = [[M] [M];] # using hvcat
627
+ @test m1 == m2
628
+ @test size(m1) == (1,2)
629
+ @test !issparse(m1)
630
+ @test !issparse(m2)
631
end
0 commit comments