Searched refs:update_weights (Results 1 – 2 of 2) sorted by relevance
142 pub fn update_weights(&mut self, new_weights: &[(usize, &X)]) -> Result<(), WeightedError> in update_weights() method280 .update_weights(&[(0, &core::f32::NAN)]) in test_accepting_nan()383 distr.update_weights(update).unwrap(); in test_update_weights()
69 - Improve treatment of rounding errors in `WeightedIndex::update_weights` (#956)