This commit is contained in:
2025-02-18 12:55:15 -05:00
parent a5aed91392
commit 7ec23f1bab
3 changed files with 37 additions and 31 deletions

View File

@@ -363,7 +363,9 @@ impl Agent for ComplexAgent {
println!("# of moves stored: {}", self.future_moves.arena.len());
self.future_moves.best_move().inspect(|&(i, j)| {
self.future_moves.update_root_coord(i, j);
if !self.future_moves.update_root_coord(i, j) {
panic!("update_root_coord failed");
}
})
}