Remove unused mut reference

This commit is contained in:
2022-12-27 22:11:04 +01:00
parent b93194f762
commit fdddf56156
4 changed files with 163 additions and 3 deletions

View File

@@ -203,7 +203,7 @@ impl Batch {
composition: Vec<Vec<Vec<Index>>>,
results: Vec<Vec<f64>>,
weights: Vec<Vec<Vec<f64>>>,
agents: &mut HashMap<Index, Agent>,
agents: &HashMap<Index, Agent>,
) {
let this_agent = composition
.iter()