fully fix future_moves

This commit is contained in:
2025-03-07 22:21:45 -05:00
parent efd762e5d2
commit 52e7ed7386
3 changed files with 31 additions and 82 deletions

View File

@@ -16,7 +16,7 @@ fn extend_layers_no_pruning(depth: usize, arena_size: usize) -> usize {
children_eval_method: ChildrenEvalMethod::Max,
};
let mut fut = FutureMoves::new(Piece::Black, config);
fut.set_root_from_board(Board::new().starting_pos());
fut.update_from_board(&Board::new().starting_pos());
fut.extend_layers();
fut.arena_len()
}