Closed boxtown closed 2 years ago
Maybe the test can be extended to all symmetric distributions, not just the Laplace one?
LGTM
When to expect the fix to propagate to crates.io?
Why this and other accepted fixes are being withheld from crates.io?
Sampling has a bug where negative values are not being generated due to missing
abs()
for random variable. See https://github.com/statrs-dev/statrs/issues/150This PR fixes that issue and adds a sanity check test for sampling to ensure balanced draws. Also fixes https://github.com/statrs-dev/statrs/issues/149