Agents doens't have to be behind a mutable reference in within_priors

This commit is contained in:
2022-12-15 20:13:25 +01:00
parent 8bea1b5399
commit 5eb8e62d6e

View File

@@ -260,7 +260,7 @@ impl Batch {
event: usize,
online: bool,
forward: bool,
agents: &mut HashMap<Index, Agent>,
agents: &HashMap<Index, Agent>,
) -> Vec<Vec<Player>> {
self.events[event]
.teams