Searched refs:prev_weight (Results 1 – 1 of 1) sorted by relevance
192 let mut prev_weight = zero.clone(); in update_weights() localVariable208 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()