Skip to content

Commit

Permalink
Bench: 2633540
Browse files Browse the repository at this point in the history
  • Loading branch information
jhonnold committed Oct 22, 2023
1 parent 1b882f9 commit e22b5bf
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 @@ -660,7 +660,7 @@ int Negamax(int alpha, int beta, int depth, int cutnode, ThreadData* thread, PV*

if (score > alpha && R > 1) {
newDepth += (score > bestScore + 76);
newDepth -= (score <= bestScore + 1);
newDepth -= (score < bestScore + newDepth);

if (newDepth - 1 > lmrDepth)
score = -Negamax(-alpha - 1, -alpha, newDepth - 1, !cutnode, thread, &childPv, ss + 1);
Expand Down

0 comments on commit e22b5bf

Please sign in to comment.