Skip to content

Commit c9ff1c2

Browse files
committed
delete old code
1 parent 135473e commit c9ff1c2

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/besseli.jl

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -206,13 +206,6 @@ function _besseli(nu::Integer, x::T) where T <: Union{Float32, Float64}
206206
end
207207
end
208208

209-
function _besseli(nu::AbstractRange, x::T) where T
210-
(nu[1] >= 0 && step(nu) == 1) || throw(ArgumentError("nu must be >= 0 with step(nu)=1"))
211-
out = Vector{T}(undef, length(nu))
212-
out[end-1], out[end] = _besseli(nu[end-1], x), _besseli(nu[end], x)
213-
return besselk_down_recurrence!(out, x, nu)
214-
end
215-
216209
function _besseli(nu::AbstractRange, x::T) where T
217210
(nu[1] >= 0 && step(nu) == 1) || throw(ArgumentError("nu must be >= 0 with step(nu)=1"))
218211
len = length(nu)

0 commit comments

Comments
 (0)