Skip to content

Commit

Permalink
Bench: 19446962
Browse files Browse the repository at this point in the history
  • Loading branch information
TerjeKir committed Oct 5, 2023
1 parent 96ce143 commit b589a5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/search.c
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,10 @@ static int Quiescence(Thread *thread, Stack *ss, int alpha, const int beta) {
while ((move = NextMove(&mp))) {

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

// Only try moves the movepicker deems good
if (mp.stage > NOISY_GOOD) break;
if (mp.stage > NOISY_GOOD && pos->nonPawnCount[sideToMove]) break;

// Futility pruning
if ( futility + PieceValue[EG][capturing(move)] <= alpha
Expand Down

0 comments on commit b589a5b

Please sign in to comment.