Skip to content

Commit

Permalink
chore: auto formatting
Browse files Browse the repository at this point in the history
bench: 1923145
  • Loading branch information
DeveloperPaul123 committed Dec 2, 2024
1 parent bb8fd1b commit 29de4cd
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion engine/src/search.rs
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,13 @@ impl<'a> Search<'a> {
&& best_result.depth <= self.parameters.max_depth
{
// search the tree, starting at the current depth (starts at 1)
let score = self.negamax(board, best_result.depth as ScoreType, 0, -Score::INF, Score::INF);
let score = self.negamax(
board,
best_result.depth as ScoreType,
0,
-Score::INF,
Score::INF,
);

// check stop conditions
if self.should_stop_searching() {
Expand Down

0 comments on commit 29de4cd

Please sign in to comment.