nits
This commit is contained in:
@@ -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");
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user