Skip to content

Commit

Permalink
Bench: 2949522
Browse files Browse the repository at this point in the history
  • Loading branch information
jhonnold committed Mar 6, 2024
1 parent 19317aa commit 674c137
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 @@ -517,7 +517,7 @@ int Negamax(int alpha, int beta, int depth, int cutnode, ThreadData* thread, PV*
if (depth <= 8 && !ss->skip && eval < TB_WIN_BOUND && eval >= beta &&
eval - 67 * depth + 112 * (improving && !opponentHasEasyCapture) >= beta &&
(!hashMove || GetHistory(ss, thread, hashMove) > 12525))
return (eval + beta) / 2;
return (eval + depth * beta) / (1 + depth);

// Razoring
if (depth <= 6 && eval + 252 * depth <= alpha) {
Expand Down

0 comments on commit 674c137

Please sign in to comment.