Skip to content

Commit 25604f5

Browse files
committed
Update test_blockarrays.jl
1 parent b0c14a9 commit 25604f5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/test_blockarrays.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,8 @@ end
236236

237237
ret = BlockedArray{Float64}(undef, 1:3)
238238
@test similar(ret, Float64, (blockedrange(1:3),)) isa BlockedArray
239+
@test similar(ret, Float64, 1, blockedrange(1:3)) isa BlockedArray
240+
@test similar(ret, Float64, 1, 2, blockedrange(1:3)) isa BlockedArray
239241

240242
ret = BlockArray{Float64}(undef, 1:3, 1:3)
241243
@test similar(typeof(ret), axes(ret)) isa BlockMatrix

0 commit comments

Comments
 (0)