Home
last modified time | relevance | path

Searched refs:update_weights (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/rand/src/distributions/
Dweighted_index.rs142 pub fn update_weights(&mut self, new_weights: &[(usize, &X)]) -> Result<(), WeightedError> in update_weights() method
280 .update_weights(&[(0, &core::f32::NAN)]) in test_accepting_nan()
383 distr.update_weights(update).unwrap(); in test_update_weights()
/external/rust/crates/rand/
DCHANGELOG.md69 - Improve treatment of rounding errors in `WeightedIndex::update_weights` (#956)