Skip to content

Commit

Permalink
Simplify PV node reduction
Browse files Browse the repository at this point in the history
Reduce less on PV nodes even with an upperbound TT entry.
  • Loading branch information
cj5716 authored and PikaCat-OuO committed Feb 17, 2024
1 parent 129fbd3 commit 2757269
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1002,7 +1002,7 @@ Value Search::Worker::search(
r++;

// Decrease reduction for PvNodes (~3 Elo)
if (PvNode && tte->bound() != BOUND_UPPER)
if (PvNode)
r--;

// Increase reduction if next ply has a lot of fail high (~5 Elo)
Expand Down

0 comments on commit 2757269

Please sign in to comment.