Skip to content

Commit c2eec5b

Browse files
committed
loosen restriction
1 parent 7d314b1 commit c2eec5b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/besselj.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ function besselj(nu::Real, x::T) where T
167167
end
168168
end
169169

170-
function besselj(nu::Int, x::T) where T
170+
function besselj(nu::Integer, x::T) where T
171171
abs_nu = abs(nu)
172172
abs_x = abs(x)
173173
sg = iseven(Int(abs_nu)) ? 1 : -1

src/bessely.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ function bessely(nu::Real, x::T) where T
210210
end
211211
end
212212
end
213-
function bessely(nu::Int, x::T) where T
213+
function bessely(nu::Integer, x::T) where T
214214
abs_nu = abs(nu)
215215
abs_x = abs(x)
216216
sg = iseven(Int(abs_nu)) ? 1 : -1

0 commit comments

Comments
 (0)