Skip to content

Commit fa12952

Browse files
committed
Fix type inference of sphericalbesselj_recurrence
1 parent 6c8be6f commit fa12952

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sphericalbessel.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ function sphericalbesselj_recurrence(nu::Integer, x::T) where T
9191
nu_start += 1
9292
end
9393
return sJ0
94-
elseif x < nu
94+
else
9595
# compute sphericalbessely with forward recurrence and use continued fraction
9696
sYnm1, sYn = sphericalbessely_forward_recurrence(nu, x)
9797
H = besselj_ratio_jnu_jnum1(nu + T(3)/2, x)

0 commit comments

Comments
 (0)