Skip to content

Commit

Permalink
fix coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
heltonmc committed Aug 2, 2022
1 parent d608e51 commit 4fd03bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/asymptotics.jl
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ function _α_αp_poly_10(v, x::T) where T
αp = evalpoly(xinv, (s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10))
α = x * evalpoly(xinv, (s0, -s1, -s2/3, -s3/5, -s4/7, -s5/9, -s6/11, -s7/13, -s8/15, -s9/17, -s10/19))
return α, αp
return α, αp
end
#=
function _α_αp_poly_15(v, x::T) where T
Expand Down
4 changes: 2 additions & 2 deletions test/besselj_test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ end
@test isapprox(besselj(10.0, 150.0), SpecialFunctions.besselj(10.0, 150.0), rtol=1e-12)

# test BigFloat for single point
#@test isapprox(besselj(big"2000", big"1500.0"), SpecialFunctions.besselj(big"2000", big"1500"), rtol=5e-20)
#@test isapprox(besselj(big"20", big"1500.0"), SpecialFunctions.besselj(big"20", big"1500"), rtol=5e-20)
@test isapprox(Bessels.besseljy_debye(big"2000", big"1500.0")[1], SpecialFunctions.besselj(big"2000", big"1500"), rtol=5e-20)
@test isapprox(Bessels.besseljy_large_argument(big"20", big"1500.0")[1], SpecialFunctions.besselj(big"20", big"1500"), rtol=5e-20)


# need to test accuracy of negative orders and negative arguments and all combinations within
Expand Down

0 comments on commit 4fd03bd

Please sign in to comment.