diff --git a/src/statistics/dist.rs b/src/statistics/dist.rs index b563869c..fd533405 100644 --- a/src/statistics/dist.rs +++ b/src/statistics/dist.rs @@ -692,7 +692,6 @@ impl RNG for WeightedUniform { return 0f64; } let idx = find_interval(self.intervals(), x); - let (a, b) = self.intervals[idx]; self.weights[idx] / self.sum }