diff --git a/src/histogram.rs b/src/histogram.rs index 1c76329..d8841a9 100644 --- a/src/histogram.rs +++ b/src/histogram.rs @@ -89,7 +89,7 @@ pub fn create_feature_histogram( sorted_hess: &[f32], index: &[usize], ) -> Vec> { - let mut histogram: Vec> = Vec::with_capacity(cuts.len()); + let mut histogram: Vec> = Vec::with_capacity(cuts.len()); let mut gradient_sums: Vec = Vec::with_capacity(cuts.len()); let mut hessian_sums: Vec = Vec::with_capacity(cuts.len());