Skip to content

Commit

Permalink
Consider more nodes as ttPv nodes.
Browse files Browse the repository at this point in the history
Remove depth condition in propagation rule for ttPv state from a node to
it childs.

STC:
LLR: 2.95 (-2.94,2.94) <-1.75,0.25>
Total: 82528 W: 21627 L: 21453 D: 39448
Ptnml(0-2): 317, 9809, 20891, 9877, 370
https://tests.stockfishchess.org/tests/view/678e608cd63764e34db49ad7

LTC:
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 310440 W: 78879 L: 78956 D: 152605
Ptnml(0-2): 255, 34915, 84938, 34876, 236
https://tests.stockfishchess.org/tests/view/678fab89ac8f8f5496155f3c

Bench: 1498882
  • Loading branch information
locutus2 committed Jan 25, 2025
1 parent 8e3e22b commit 2d6da3a
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 @@ -1421,7 +1421,7 @@ Value Search::Worker::search(
// If no good move is found and the previous position was ttPv, then the previous
// opponent move is probably good and the new position is added to the search tree. (~7 Elo)
if (bestValue <= alpha)
ss->ttPv = ss->ttPv || ((ss - 1)->ttPv && depth > 3);
ss->ttPv = ss->ttPv || (ss - 1)->ttPv;

// Write gathered information in transposition table. Note that the
// static evaluation is saved as it was before correction history.
Expand Down

0 comments on commit 2d6da3a

Please sign in to comment.