Skip to content

Commit 6a5ccc5

Browse files
authored
oops
1 parent 1213631 commit 6a5ccc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/besselj.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ function besselj1(x::Float64)
217217
x = abs(x)
218218
isinf(x) && return zero(x)
219219

220-
if x <= 5.0
220+
if x <= 26.0
221221
x <= pi/2 && return x*evalpoly(x*x, J1_POLY_PIO2(T))
222222
n = unsafe_trunc(Int, TWOOPI(T)*x)
223223
root = @inbounds J1_ROOTS(T)[n]

0 commit comments

Comments
 (0)