Skip to content

Commit b9f89c4

Browse files
committed
fix max arg
1 parent f6c594b commit b9f89c4

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

test/besseli_test.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ i1x_32 = besseli1x.(Float32.(x32))
6767

6868
# test complex implementation
6969

70-
for x in [0.0, 0.01, 0.5, 1.0, 2.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 12.0, 14.0, 15.0, 17.0, 18.0, 20.0, 25.0, 50.0, 15.0], a in 0:pi/12:2pi
70+
for x in [0.0, 0.01, 0.5, 1.0, 2.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 12.0, 14.0, 15.0, 17.0, 18.0, 20.0, 25.0, 50.0, 150.0], a in 0:pi/12:2pi
7171
z = x*exp(im*a)
7272
@test isapprox(besseli0(z), SpecialFunctions.besseli(0, z), rtol=2e-14)
7373
@test isapprox(besseli0(ComplexF32(z)), ComplexF32(SpecialFunctions.besseli(0, ComplexF32(z))), rtol=1e-7)

test/besselj_test.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ x = [1e12, 5e12, 1e13, 5e13, 1e14, 5e14, 1e15, 5e15, 1e16, 5e16, 1e17, 5e17, 1e1
7979

8080
# test complex implementation
8181

82-
for x in [0.0, 0.01, 0.5, 1.0, 2.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 12.0, 14.0, 15.0, 17.0, 18.0, 20.0, 25.0, 50.0, 15.0], a in 0:pi/12:2pi
82+
for x in [0.0, 0.01, 0.5, 1.0, 2.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 12.0, 14.0, 15.0, 17.0, 18.0, 20.0, 25.0, 50.0, 150.0], a in 0:pi/12:2pi
8383
z = x*exp(im*a)
8484
@test isapprox(besselj0(z), SpecialFunctions.besselj(0, z), rtol=2e-14)
8585
@test isapprox(besselj0(ComplexF32(z)), ComplexF32(SpecialFunctions.besselj(0, ComplexF32(z))), rtol=1e-7)

test/runtests.jl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ using Test
33
import SpecialFunctions
44

55
@time @testset "besseli" begin include("besseli_test.jl") end
6-
@time @testset "besselk" begin include("besselk_test.jl") end
6+
#@time @testset "besselk" begin include("besselk_test.jl") end
77
@time @testset "besselj" begin include("besselj_test.jl") end
8-
@time @testset "bessely" begin include("bessely_test.jl") end
9-
@time @testset "hankel" begin include("hankel_test.jl") end
10-
@time @testset "gamma" begin include("gamma_test.jl") end
11-
@time @testset "airy" begin include("airy_test.jl") end
12-
@time @testset "sphericalbessel" begin include("sphericalbessel_test.jl") end
8+
#@time @testset "bessely" begin include("bessely_test.jl") end
9+
#@time @testset "hankel" begin include("hankel_test.jl") end
10+
#@time @testset "gamma" begin include("gamma_test.jl") end
11+
#@time @testset "airy" begin include("airy_test.jl") end
12+
#@time @testset "sphericalbessel" begin include("sphericalbessel_test.jl") end

0 commit comments

Comments
 (0)