Skip to content

Commit

Permalink
fix missing ends
Browse files Browse the repository at this point in the history
  • Loading branch information
heltonmc committed Aug 4, 2022
1 parent b80860c commit 1126744
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/bessely.jl
Original file line number Diff line number Diff line change
Expand Up @@ -271,12 +271,14 @@ function bessely(nu::Integer, x::T) where T
else
return throw(DomainError(x, "Complex result returned for real arguments. Complex arguments are currently not supported"))
#return Ynu * sg + 2im * sg * besselj_positive_args(abs_nu, abs_x)
end
else
if x >= zero(T)
return Ynu * sg
else
return throw(DomainError(x, "Complex result returned for real arguments. Complex arguments are currently not supported"))
#return Ynu + 2im * besselj_positive_args(abs_nu, abs_x)
end
end
end

Expand Down

0 comments on commit 1126744

Please sign in to comment.