Skip to content

Commit

Permalink
Bench: 3584695
Browse files Browse the repository at this point in the history
  • Loading branch information
jhonnold committed Mar 19, 2024
1 parent 644c814 commit fbb201e
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 @@ -954,7 +954,7 @@ int Quiesce(int alpha, int beta, int depth, ThreadData* thread, SearchStack* ss)
}

// failed high
if (alpha >= beta) {
if (alpha >= beta && inCheck) {
UpdateHistories(ss, thread, move, 1, quiets, numQuiets, captures, numCaptures);
break;
}
Expand Down

0 comments on commit fbb201e

Please sign in to comment.