diff --git a/test/test_linop.jl b/test/test_linop.jl index 20ec5209..5d33fddc 100644 --- a/test/test_linop.jl +++ b/test/test_linop.jl @@ -707,8 +707,8 @@ function test_linop() C = sprand(2, 4, 0.5) D = [ Diagonal([0.5; 0.25; 0.125]) zeros(3, 2) zeros(3, 4) - zeros(4, 3) B zeros(4, 4) - zeros(2, 3) zeros(2, 2) C + zeros(4, 3) B zeros(4, 4) + zeros(2, 3) zeros(2, 2) C ] M = BlockDiagonalOperator(A, B, C) @test size(M, 1) == size(A, 1) + size(B, 1) + size(C, 1)