]> git.sesse.net Git - stockfish/commitdiff
Reduce in LMR reduction on PvNode
authorbmc4 <bmc4@cin.ufpe.br>
Sun, 6 Jun 2021 16:31:57 +0000 (13:31 -0300)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Sun, 6 Jun 2021 19:22:39 +0000 (21:22 +0200)
reduce reduction in LMR by 1 on PvNode.

STC:
LLR: 2.93 (-2.94,2.94) <-0.50,2.50>
Total: 266080 W: 22438 L: 21996 D: 221646
Ptnml(0-2): 774, 17874, 95376, 18168, 848
https://tests.stockfishchess.org/tests/view/60bc0661457376eb8bcaa4bb

LTC:
LLR: 2.93 (-2.94,2.94) <0.50,3.50>
Total: 20144 W: 698 L: 587 D: 18859
Ptnml(0-2): 2, 529, 8906, 626, 9
https://tests.stockfishchess.org/tests/view/60bcc3f2457376eb8bcaa58d

closes https://github.com/official-stockfish/Stockfish/pull/3534

bench: 5173012

src/search.cpp

index f634b2d2d67b97beaf9a67d97f50b709f509cb86..67f259fca36d72bbf68cd8c4de0e10cfec7fc399 100644 (file)
@@ -1132,6 +1132,9 @@ moves_loop: // When in check, search starts from here
       {
           Depth r = reduction(improving, depth, moveCount);
 
+          if (PvNode)
+              r--;
+
           // Decrease reduction if the ttHit running average is large (~0 Elo)
           if (thisThread->ttHitAverage > 537 * TtHitAverageResolution * TtHitAverageWindow / 1024)
               r--;