Skip to content

Commit

Permalink
Add tests for transpose of block matrices (JuliaLang#7244)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasnoack authored and mauro3 committed Jun 19, 2014
1 parent eb7c43d commit 888dc04
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 888dc04

Please sign in to comment.