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.

Passed STC:
https://tests.stockfishchess.org/tests/view/65cb3a861d8e83c78bfd0497
LLR: 2.96 (-2.94,2.94) <-1.75,0.25>
Total: 118752 W: 30441 L: 30307 D: 58004
Ptnml(0-2): 476, 14179, 29921, 14335, 465

Passed LTC:
https://tests.stockfishchess.org/tests/view/65cd3b951d8e83c78bfd2b0d
LLR: 2.95 (-2.94,2.94) <-1.75,0.25>
Total: 155058 W: 38549 L: 38464 D: 78045
Ptnml(0-2): 85, 17521, 42219, 17632, 72

closes official-stockfish#5057

Bench: 1303971
  • Loading branch information
cj5716 authored and xu-shawn committed Feb 19, 2024
1 parent 9b757f0 commit bcd8ad8
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 @@ -1111,7 +1111,7 @@ Value Search::Worker::search(
r++;

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

// Increase reduction on repetition (~1 Elo)
Expand Down

0 comments on commit bcd8ad8

Please sign in to comment.