Skip to content

Commit

Permalink
Bench: 2662387
Browse files Browse the repository at this point in the history
  • Loading branch information
jhonnold committed Feb 26, 2024
1 parent 92a1e28 commit d78c667
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/search.c
Original file line number Diff line number Diff line change
Expand Up @@ -618,6 +618,7 @@ int Negamax(int alpha, int beta, int depth, int cutnode, ThreadData* thread, PV*
int R = LMR[Min(depth, 63)][Min(legalMoves, 63)];
R -= history / 8192; // adjust reduction based on historical score
R += (IsCap(hashMove) || IsPromo(hashMove)); // increase reduction if hash move is noisy
R += !improving;

if (bestScore > -TB_WIN_BOUND) {
if (!isRoot && legalMoves >= LMP[improving][depth])
Expand Down Expand Up @@ -708,10 +709,6 @@ int Negamax(int alpha, int beta, int depth, int cutnode, ThreadData* thread, PV*
if (!ttPv)
R += 2;

// increase reduction if our eval is declining
if (!improving)
R++;

// reduce these special quiets less
if (killerOrCounter)
R -= 2;
Expand Down

0 comments on commit d78c667

Please sign in to comment.