From b010d0cae602982ef1d0748b6cdf323e7ed96af2 Mon Sep 17 00:00:00 2001 From: Vinzent Steinberg Date: Wed, 11 Jul 2018 15:52:57 +0200 Subject: [PATCH] Fix moments benchmark --- benches/kurtosis.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benches/kurtosis.rs b/benches/kurtosis.rs index 8a25050..3ec4fe4 100644 --- a/benches/kurtosis.rs +++ b/benches/kurtosis.rs @@ -33,7 +33,7 @@ fn bench_kurtosis(b: &mut Bencher) { fn bench_moments(b: &mut Bencher) { let values = initialize_vec(); b.iter(|| { - let m: average::Moments = values.iter().map(|x| *x).collect(); + let m: average::Moments4 = values.iter().map(|x| *x).collect(); m }); }