Agents doens't have to be behind a mutable reference in within_priors
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user