Skip to content

Commit 9961fca

Browse files
committed
use log(2)-log(x)
1 parent 3183641 commit 9961fca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BesselFunctions/besselk.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ function besselk_temme_series(v::V, x::X) where {V , X}
602602
end
603603

604604
@inline function f0_local_expansion_v0(v, x)
605-
l2dx = log(2 / x)
605+
l2dx = log(2) - log(x)
606606
mu = v * l2dx
607607
vv = v * v
608608
sp = evalpoly(vv, (1.0, 1.6449340668482264, 1.8940656589944918, 1.9711021825948702))

0 commit comments

Comments
 (0)