Skip to content

Commit

Permalink
Bench: 25238160
Browse files Browse the repository at this point in the history
  • Loading branch information
TerjeKir committed Dec 13, 2024
1 parent 0220c30 commit cd29a44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/search.c
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ static int Quiescence(Thread *thread, Stack *ss, int alpha, int beta) {
while ((move = NextMove(&mp))) {

// Avoid pruning until at least one move avoids a terminal loss score
if (bestScore <= -TBWIN_IN_MAX) goto search;
if (bestScore <= -TBWIN_IN_MAX || pos->nonPawnCount[sideToMove] == 0) goto search;

// Only try moves the movepicker deems good
if (mp.stage > NOISY_GOOD) break;
Expand Down

0 comments on commit cd29a44

Please sign in to comment.