Skip to content

Commit

Permalink
Add tests for transpose of block matrices (#7244)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasnoack committed Jun 17, 2014
1 parent 2c02e0b commit 987eb73
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/arrayops.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 987eb73

Please sign in to comment.