@@ -5,16 +5,17 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
66
77## [ 0.6.0] — Unreleased
8- - Bump to MSRV 1.85.0 and Edition 2024 in line with ` rand ` ([ #27 ] )
8+ - Bump to MSRV 1.85.0 and Edition 2024 in line with ` rand ` ([ #28 ] )
9+ - Update ` rand ` to version 0.10.0 ([ #31 ] , [ #48 ] )
910
1011### Additions
1112- ` MultiDistribution ` trait to sample more efficiently from multi-dimensional distributions ([ #18 ] )
13+ - Add ` WeightedAliasIndex::weights() ` to reconstruct the original weights in O(n) ([ #25 ] )
1214- ` ConstMultiDistribution ` trait as support for fixed-dimension distributions ([ #29 ] )
1315
1416### Changes
1517- Moved ` Dirichlet ` into the new ` multi ` module and implement ` MultiDistribution ` for it ([ #18 ] )
16- - ` Dirichlet ` no longer uses ` const ` generics, which means that its size is not required at compile time. Essentially a revert of rand #1292 . ([ #15 ] )
17- - Add ` Dirichlet::new_with_size ` constructor ([ #15 ] )
18+ - ` Dirichlet ` no longer uses ` const ` generics, which means that its size is not required at compile time. Essentially a revert of [ rand #1292 ] . ([ #30 ] )
1819
1920### Fixes
2021- Fix ` Geometric::new ` for small ` p > 0 ` where ` 1 - p ` rounds to 1 ([ #36 ] )
@@ -25,14 +26,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2526- Fix panic in ` Binomial::sample ` with ` n ≥ 2^63 ` ; this is a Value-breaking change ([ #43 ] )
2627- Error instead of producing ` -inf ` output for ` Exp ` when ` lambda ` is ` -0.0 ` ([ #44 ] )
2728
28- ## [ 0.5.2]
29-
30- ### API Changes
31- - Add ` WeightedAliasIndex::weights() ` to reconstruct the original weights in O(n)
32-
33- ### Testing
34- - Added a test for ` WeightedAliasIndex::weights() `
35-
3629## [ 0.5.1]
3730
3831### Testing
@@ -148,15 +141,19 @@ Initial release. This is equivalent to the code in `rand` 0.6.5.
148141
149142[ #15 ] : https://github.com/rust-random/rand_distr/pull/15
150143[ #18 ] : https://github.com/rust-random/rand_distr/pull/18
151- [ #27 ] : https://github.com/rust-random/rand_distr/pull/27
144+ [ #25 ] : https://github.com/rust-random/rand_distr/pull/25
145+ [ #28 ] : https://github.com/rust-random/rand_distr/pull/28
152146[ #29 ] : https://github.com/rust-random/rand_distr/pull/29
147+ [ #30 ] : https://github.com/rust-random/rand_distr/pull/30
148+ [ #31 ] : https://github.com/rust-random/rand_distr/pull/31
153149[ #36 ] : https://github.com/rust-random/rand_distr/pull/36
154150[ #38 ] : https://github.com/rust-random/rand_distr/pull/38
155151[ #39 ] : https://github.com/rust-random/rand_distr/pull/39
156152[ #40 ] : https://github.com/rust-random/rand_distr/pull/40
157153[ #41 ] : https://github.com/rust-random/rand_distr/pull/41
158154[ #43 ] : https://github.com/rust-random/rand_distr/pull/43
159155[ #44 ] : https://github.com/rust-random/rand_distr/pull/44
156+ [ #48 ] : https://github.com/rust-random/rand_distr/pull/48
160157[ rand#840 ] : https://github.com/rust-random/rand/pull/840
161158[ rand#847 ] : https://github.com/rust-random/rand/pull/847
162159[ rand#891 ] : https://github.com/rust-random/rand/pull/891
0 commit comments