Skip to content

Commit f9e7d61

Browse files
authored
Update partitions_and_static_arrays.jl
1 parent 93d84ed commit f9e7d61

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/partitions_and_static_arrays.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,6 @@ p = ArrayPartition((zeros(Float32, 2), zeros(SMatrix{2,2, Int64},2), zeros(SVect
88

99
p2 = similar(p)
1010
@test typeof(p2)==typeof(p)
11+
12+
p3 = ArrayPartition(SA[1.0, 2.0], MMatrix{2,2}([3.0 4.0; 3.0 5.0]))
13+
@test length(typeof(p3)) == 6

0 commit comments

Comments
 (0)