Skip to content

Commit f4a54a6

Browse files
committed
Test for transpose fallback
1 parent 764e568 commit f4a54a6

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/testsuite/linalg.jl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,13 @@ function test_linalg(AT)
2626
@test ishermitian(aherm)
2727
end
2828
end
29+
@testset "transpose fallback" begin
30+
m = 64
31+
n = 128
32+
a = randn(m,n)
33+
b = zeros(n,m)
34+
transpose!(b, a)
35+
@test b == transpose(a)
36+
end
2937
end
3038
end

0 commit comments

Comments
 (0)