]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Adjust reductions based on the number of threads
[stockfish] / src / search.cpp
index d34e182392843b4874a07b1b5858610a4e78a143..55df6172c64c779d890431bc6f0f42abab2cc9fb 100644 (file)
@@ -191,7 +191,7 @@ namespace {
 void Search::init() {
 
   for (int i = 1; i < MAX_MOVES; ++i)
-      Reductions[i] = int(23.4 * std::log(i));
+      Reductions[i] = int((23.4 + std::log(Threads.size()) / 2) * std::log(i));
 }