Skip to content

Commit

Permalink
MAX_MOVES for excluded_moves
Browse files Browse the repository at this point in the history
  • Loading branch information
Heiaha committed Jan 7, 2025
1 parent 5999962 commit 91b2839
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/search.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub struct Search<'a> {
timer: Timer,
tt: &'a TT,
move_sorter: MoveSorter,
excluded_moves: [Option<Move>; 256],
excluded_moves: [Option<Move>; MAX_MOVES],
}

impl<'a> Search<'a> {
Expand All @@ -25,7 +25,7 @@ impl<'a> Search<'a> {
tt,
sel_depth: 0,
move_sorter: MoveSorter::new(),
excluded_moves: [None; 256],
excluded_moves: [None; MAX_MOVES],
}
}

Expand Down

0 comments on commit 91b2839

Please sign in to comment.