]> git.sesse.net Git - stockfish/commitdiff
Simplify lowply-history logic
authorGuenther Demetz <guenther.demetz@wuerth-phoenix.com>
Thu, 27 Feb 2020 14:58:22 +0000 (15:58 +0100)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Sun, 1 Mar 2020 08:20:31 +0000 (09:20 +0100)
Don't restrict usage to ttPv nodes exclusively

STC:
http://tests.stockfishchess.org/tests/view/5e5634f284a82b4acd41499a
LLR: 2.94 (-2.94,2.94) {-1.50,0.50}
Total: 152796 W: 29146 L: 29178 D: 94472
Ptnml(0-2): 2590, 17792, 35628, 17836, 2552

LTC:
http://tests.stockfishchess.org/tests/view/5e575d4984a82b4acd4149e8
LLR: 2.95 (-2.94,2.94) {-1.50,0.50}
Total: 20078 W: 2688 L: 2587 D: 14803
Ptnml(0-2): 139, 1914, 5853, 1973, 160

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

bench: 4923286

src/search.cpp

index a32ff4b6b2b209744951d2345a3bf3553b19cb66..544c3ee51ec4c38e110ea9d046a642e4395ee59a 100644 (file)
@@ -957,7 +957,7 @@ moves_loop: // When in check, search starts from here
                                       contHist,
                                       countermove,
                                       ss->killers,
-                                      depth > 12 && ttPv ? ss->ply : MAX_PLY);
+                                      depth > 12 ? ss->ply : MAX_PLY);
 
     value = bestValue;
     singularLMR = moveCountPruning = false;