Skip to content

Commit 76b776e

Browse files
committed
Update abstractfftsforwarddiff.jl
1 parent a968cd1 commit 76b776e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/abstractfftsforwarddiff.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ complexpartials(x, k) = partials(real(x), k) + im*partials(imag(x), k)
99
@testset "ForwardDiff extension tests" begin
1010
x1 = Dual.(1:4.0, 2:5, 3:6)
1111

12-
@test AbstractFFTs.complexfloat(x1)[1] === AbstractFFTs.complexfloat(x1[1]) === Dual(1.0, 2.0, 3.0) + 0im
13-
@test AbstractFFTs.realfloat(x1)[1] === AbstractFFTs.realfloat(x1[1]) === Dual(1.0, 2.0, 3.0)
12+
@test AbstractFFTs.complexfloat(x1)[1] === Dual(1.0, 2.0, 3.0) + 0im
13+
@test AbstractFFTs.realfloat(x1)[1] === Dual(1.0, 2.0, 3.0)
1414

1515
@test fft(x1, 1)[1] isa Complex{<:Dual}
1616

0 commit comments

Comments
 (0)