Skip to content

Commit d3ecaa9

Browse files
goerzsethaxen
andcommitted
Use U = exp(B - B') as complex det test matrix
Co-authored-by: Seth Axen <[email protected]>
1 parent 20b54a0 commit d3ecaa9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/rulesets/LinearAlgebra/dense.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,9 @@
119119
test_rrule(f, B)
120120
end
121121
end
122-
@testset "$f(unitary matrix)" begin
122+
@testset "$f(complex determinant)" begin
123123
B = randn(ComplexF64, 4, 4)
124-
U = exp(1im * (B + B'))
124+
U = exp(B - B')
125125
test_frule(f, U)
126126
test_rrule(f, U)
127127
end

0 commit comments

Comments
 (0)