Skip to content

Commit 310c091

Browse files
ishermitian (-0.0 handling)
1 parent 32f1e42 commit 310c091

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/linearalgebra.jl

+4
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,8 @@
66
@test_throws ErrorException exp(M)
77
M = Complex{Double64}.([1 0; 1 1])
88
@test_throws ErrorException exp(M)
9+
10+
t=[Complex{Double64}(1.0,0.0) Complex{Double64}(0.0,1.0);
11+
Complex{Double64}(0.0,-1.0) Complex{Double64}(1.0,0.0)]
12+
@test ishermitian(t)
913
end

0 commit comments

Comments
 (0)