Skip to content

Commit a1d97ae

Browse files
committed
make complex bigfloat test 0.6 compatible
1 parent c9327d3 commit a1d97ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/fftBigFloattests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ end
2424
cc = cis.(c)
2525
@test norm(dct(cc)-dct(map(Complex{Float64},cc)),Inf) < 10eps()
2626

27-
c = rand(Complex{BigFloat}, 100)
27+
c = big.(rand(100)) + im*big.(rand(100))
2828
@test norm(dct(c)-dct(map(ComplexF64,c)),Inf) < 10eps()
2929
@test norm(idct(c)-idct(map(ComplexF64,c)),Inf) < 10eps()
3030
@test norm(idct(dct(c))-c,Inf) < 1000eps(BigFloat)

0 commit comments

Comments
 (0)