]> git.sesse.net Git - stockfish/commitdiff
Simplify Reductions Initialization
authorbmc4 <bmc4@cin.ufpe.br>
Tue, 22 Jun 2021 22:33:14 +0000 (19:33 -0300)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Mon, 28 Jun 2021 19:12:04 +0000 (21:12 +0200)
passed

STC:
LLR: 2.94 (-2.94,2.94) <-2.50,0.50>
Total: 45032 W: 3600 L: 3518 D: 37914
Ptnml(0-2): 111, 2893, 16435, 2957, 120
https://tests.stockfishchess.org/tests/view/60d2655d40925195e7a6c527

LTC:
LLR: 3.00 (-2.94,2.94) <-2.50,0.50>
Total: 25728 W: 786 L: 722 D: 24220
Ptnml(0-2): 5, 650, 11494, 706, 9
https://tests.stockfishchess.org/tests/view/60d2b14240925195e7a6c577

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

bench: 4602977

src/search.cpp

index 62f02d835bfb192e2522d43b2ed02bf0a5304388..a413bd3814fec6daa13b08ed3bbe9db6182158b3 100644 (file)
@@ -152,7 +152,7 @@ namespace {
 void Search::init() {
 
   for (int i = 1; i < MAX_MOVES; ++i)
-      Reductions[i] = int(21.3 * std::log(i + 0.25 * std::log(i)));
+      Reductions[i] = int(21.9 * std::log(i));
 }