Skip to content

Commit 230d7f1

Browse files
committed
update tests
1 parent ccfa140 commit 230d7f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/airy_test.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# these are prone to some cancellation as they are indirectly calculated from relations to bessel functions
33
# this is amplified for negative arguments
44
# the implementations provided by SpecialFunctions.jl suffer from same inaccuracies
5-
for x in [0.0; rand(10000)*100]
5+
for x in [0.0; 1e-17:0.1:100.0]
66
@test isapprox(airyai(x), SpecialFunctions.airyai(x), rtol=1e-12)
77
@test isapprox(airyai(-x), SpecialFunctions.airyai(-x), rtol=1e-9)
88

0 commit comments

Comments
 (0)