JuliaMath / JuliaMath/Bessels.jl

Invalid stop condition in besseli_power_series

Open
#115 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Julia
Stars
90
Forks
11
PR merge metrics
No merged PRs in 30d

Description

Hi,

I believe that arguments in this condition:

https://github.com/JuliaMath/Bessels.jl/blob/fa3a1cb3376fb47177c8e09252d0e73385762478/src/BesselFunctions/besseli.jl#L626

should be reversed, ie `Math.check_convergence(s, t) && break`

Currently the loop spins 3k times causing slow evaluation.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.