Skip to content

Commit c218831

Browse files
committed
improve blockmap coverage
1 parent 630d0a0 commit c218831

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/blockmap.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ using Test, LinearMaps, LinearAlgebra, SparseArrays, BenchmarkTools, Interactive
200200
@test (@which cat(M1, M2, M3, M2, M1; dims=(1,2))).module != LinearMaps
201201
x = randn(elty, size(Md, 2))
202202
Bd = @inferred blockdiag(L1, L2, L3, L2, L1)
203+
@test @inferred(LinearMaps.MulStyle(Bd)) === matrixstyle
203204
@test parent(Bd) == (L1, L2, L3, L2, L1)
204205
@test occursin("25×39 LinearMaps.BlockDiagonalMap{$elty}", sprint((t, s) -> show(t, "text/plain", s), Bd))
205206
@test Matrix(Bd) == Md

0 commit comments

Comments
 (0)