Skip to content

Commit

Permalink
Remove cutNode condition
Browse files Browse the repository at this point in the history
cutNode condition seems to be irrelevant.

Passed STC:
LLR: 2.93 (-2.94,2.94) <-1.75,0.25>
Total: 24224 W: 6206 L: 5970 D: 12048
Ptnml(0-2): 69, 2818, 6122, 3014, 89
https://tests.stockfishchess.org/tests/view/65686910136acbc5735529ec

Passed LTC:
LLR: 2.96 (-2.94,2.94) <-1.75,0.25>
Total: 236538 W: 58624 L: 58622 D: 119292
Ptnml(0-2): 136, 26955, 64091, 26945, 142
https://tests.stockfishchess.org/tests/view/6568925a136acbc573552d8f

closes #4901

Bench: 1244386
  • Loading branch information
FauziAkram authored and Disservin committed Dec 4, 2023
1 parent 0ff2ea6 commit 7a8bcfc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1207,8 +1207,8 @@ Value search(Position& pos, Stack* ss, Value alpha, Value beta, Depth depth, boo
// Step 18. Full-depth search when LMR is skipped
else if (!PvNode || moveCount > 1)
{
// Increase reduction for cut nodes without ttMove (~1 Elo)
if (!ttMove && cutNode)
// Increase reduction if ttMove is not present (~1 Elo)
if (!ttMove)
r += 2;

// Note that if expected reduction is high, we reduce search depth by 1 here
Expand Down

0 comments on commit 7a8bcfc

Please sign in to comment.