Home
last modified time | relevance | path

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

/external/rust/crates/rand/src/distributions/
Dweighted_index.rs192 let mut prev_weight = zero.clone(); in update_weights() localVariable
208 tmp -= &prev_weight; // We know this is positive. in update_weights()
212 prev_weight = cumulative_weight.clone(); in update_weights()
213 core::mem::swap(&mut prev_weight, &mut self.cumulative_weights[i]); in update_weights()