Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Coerce some denominators to rational when calculating inverse beta.
This change fixes a segmentation error produced by BigDecimal gem on ruby 3.1.2, where it fails to calculate a big float. It was "fixed" in BigDecimal 3.1.2, but this version might not be compatible with older ruby versions. Reported here: https://bugs.ruby-lang.org/issues/18604 & here: ruby/bigdecimal#220 Potential fix here: ruby/bigdecimal@e236c2e
- Loading branch information