wal
wal copied to clipboard
Update rand_distr requirement from 0.4.3 to 0.5.1
Updates the requirements on rand_distr to permit the latest version.
Release notes
Sourced from rand_distr's releases.
0.5.1
What's Changed
- Fix missing import for
no_stdbuilds by@ralphtandetzkyin rust-random/rand_distr#13New Contributors
@ralphtandetzkymade their first contribution in rust-random/rand_distr#13Full Changelog: https://github.com/rust-random/rand_distr/compare/0.5.0...0.5.1
Changelog
Sourced from rand_distr's changelog.
[0.5.1]
Testing
- Added building the crate to CI
Fixes
- Fix missing import for
no_stdbuilds[0.5.0] - 2025-01-27
Dependencies and features
- Bump the MSRV to 1.61.0 (#1207, #1246, #1269, #1341, #1416); note that 1.60.0 may work for dependents when using
--ignore-rust-version- Update to
randv0.9.0 (#1558)- Rename feature
serde1toserde(#1477)API changes
- Make distributions comparable with
PartialEq(#1218)Dirichletnow usesconstgenerics, which means that its size is required at compile time (#1292)- The
Dirichlet::new_with_sizeconstructor was removed (#1292)- Add
WeightedIndexTree(#1372, #1444)- Add
PertBuilderto allow specification ofmeanormode(#1452)- Rename
Zeta's parameteratos(#1466)- Mark
WeightError,PoissonError,BinomialErroras#[non_exhaustive](#1480)- Remove support for usage of
isizeas aWeightedAliasIndexweight (#1487)- Change parameter type of
Zipf::new:nis now floating-point (#1518)API changes: renames
- Move
Slice->slice::Choose,EmptySlice->slice::Empty(#1548)- Rename trait
DistString->SampleString(#1548)- Rename
DistIter->Iter,DistMap->Map(#1548)- Move
{Weight, WeightError, WeightedIndex}->weighted::{Weight, Error, WeightedIndex}(#1548)- Move
weighted_alias::{AliasableWeight, WeightedAliasIndex}->weighted::{..}(#1548)- Move
weighted_tree::WeightedTreeIndex->weighted::WeightedTreeIndex(#1548)Testing
Fixes
- Fix Knuth's method so
Poissondoesn't return -1.0 for small lambda (#1284)- Fix
Poissondistribution instantiation so it return an error if lambda is infinite (#1291)- Fix Dirichlet sample for small alpha values to avoid NaN samples (#1209)
- Fix infinite loop in
Binomialdistribution (#1325)- Fix
Pertdistribution wheremodeis close to(min + max) / 2(#1452)- Fix panic in Binomial (#1484)
- Limit the maximal acceptable lambda for
Poissonto solve (#1312) (#1498)- Fix bug in
Hypergeometric, this is a Value-breaking change (#1510)Other changes
- Remove unused fields from
Gamma,NormalInverseGaussianandZipfdistributions (#1184) This breaks serialization compatibility with older versions.
... (truncated)
Commits
c5de6c7Fix missing import forno_stdbuilds (#13)a3e7ed3Remove doc of master link (#11)1f6cafeMerge pull request #4 from rust-random/migration631ef74Where to find old issues and PR in readmeed9420aFix directories (#3)a855547Replaces the Poisson rejection method implementation (#1560)67fd92ePrepare 0.9.0 release (#1558)592df6dRe-org with distr::slice, distr::weighted modules (#1548)2877f49Add thethread_rngfeature flag (#1547)936f863Fix test status badges (#1544)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)