From 987eb73b2c3a20a64a3f5491716af786867deec6 Mon Sep 17 00:00:00 2001 From: Andreas Noack Jensen Date: Tue, 17 Jun 2014 21:24:39 +0200 Subject: [PATCH] Add tests for transpose of block matrices (#7244) --- test/arrayops.jl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/arrayops.jl b/test/arrayops.jl index 3bae71cf6acbc..bc505fa3c4a06 100644 --- a/test/arrayops.jl +++ b/test/arrayops.jl @@ -871,3 +871,9 @@ end # map with promotion (issue #6541) @test map(join, ["z", "я"]) == ["z", "я"] + +# Handle block matrices +A = [randn(2,2) for i = 1:2, j = 1:2] +@test issym(A.'A) +A = [complex(randn(2,2), randn(2,2)) for i = 1:2, j = 1:2] +@test ishermitian(A'A)