Closed mentics closed 8 months ago
Possibly a duplicate of https://github.com/JuliaStats/Distributions.jl/issues/1571?
Yes, it does appear to be a duplicate. The examples in that issue break in the same loop. I apologize for not searching sufficiently in advance.
No worries 🙂
I found this with Distributions v0.25.104, Julia 1.10.0, two machines: Ubuntu and Windows.
The following code will hang forever (ctrl-c will interrupt it):
Breaking it shows a stack trace of:
It seems to me that the likely culprit is in the loop around Distributions:quantilealgs.jl:57.
I tested it against values just above and below it, only changing the final digit: quantile(dig, 0.9999981908772994) quantile(dig, 0.9999981908772996) and they returned values normally, so it appears I managed to get surprisingly "lucky" in finding this particular value that has a problem (though perhaps there is a family of them that would?).