From 0765552240d995ca90dff05be9825c7e24f0402a Mon Sep 17 00:00:00 2001 From: Guillume DIDIER Date: Thu, 12 May 2022 11:40:20 +0200 Subject: [PATCH] Fix compile (cherry picked from commit 7051379f020f2bef578d978a0d6a0d6e2680a00d) --- prefetcher_reverse/src/bin/all_experiments.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/prefetcher_reverse/src/bin/all_experiments.rs b/prefetcher_reverse/src/bin/all_experiments.rs index f426903..c6fe288 100644 --- a/prefetcher_reverse/src/bin/all_experiments.rs +++ b/prefetcher_reverse/src/bin/all_experiments.rs @@ -167,7 +167,7 @@ fn main() { Box::new(|k: usize| { let f = Box::new(move |i, j| { - let v = vec![ + let mut v = vec![ i,j, ]; v.truncate(k); @@ -189,7 +189,7 @@ fn main() { ] { for k in [0,1,2] { let exp = class.1(k); - experiments.push((format!("{}{}", class.0, k),exp.1, exp.2, exp.3)); + experiments.push((format!("{}{}", class.0, k),exp.0, exp.1, exp.2)); } }