Fixes
- Fix
WeightedIndexpanic when the sum of float weights is infinite; returnError::Overflowinstead (#1808) - Fix spurious
Error::NonFinitefromUniform::new_inclusiveon large finite float ranges such as0.0..=f64::MAX(#1821) - Fix possible panic due to sampling a deserialized
Uniform<char>(#1831)
Changes
- Report exact remaining lengths from
WeightedIndex::weights()and reduce overhead when reading weights (#1838)
New Contributors
- @teddytennant made their first contribution in #1807
- @CyberneticX-Tech made their first contribution in #1839
- @pnn64 made their first contribution in #1838
Full Changelog: 0.10.2...0.10.3