diff --git a/tools/kstest/src/main.rs b/tools/kstest/src/main.rs index acfc7f7..67f97c6 100644 --- a/tools/kstest/src/main.rs +++ b/tools/kstest/src/main.rs @@ -100,7 +100,6 @@ fn run(dataset_fn: String, jobid: Jobid, similarities_fn: String, progress_fn: S let progress_file = File::create(&progress_fn).expect("Unable to open"); let mut wtr_progress = csv::Writer::from_writer(&progress_file); - let mut counter = 1; let mut similarities: Vec<(Jobid, Similarity, bool)> = Vec::new(); @@ -108,6 +107,7 @@ fn run(dataset_fn: String, jobid: Jobid, similarities_fn: String, progress_fn: S let mut log_file = LineWriter::new(log_file); for i in 0..10 { + let mut counter = 1; let mut avail_codings: Vec<(u32, &JobCoding)>; avail_codings = q_codings.iter().map(|(k, v)| (*k, v)).collect();