]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
A combo of parameter tweaks
[stockfish] / src / search.cpp
index 6c16aca8ba9fc5db0ae8980006f40784bc4da6a5..c48865c637210aa7c41defa21877d936884889ae 100644 (file)
@@ -448,7 +448,7 @@ void Thread::search() {
               {
                   beta = std::min(bestValue + delta, VALUE_INFINITE);
                   if (mainThread)
-                         ++failedHighCnt;
+                      ++failedHighCnt;
               }
               else
                   break;
@@ -764,7 +764,7 @@ namespace {
                || (ss-2)->staticEval == VALUE_NONE;
 
     // Step 8. Futility pruning: child node (~30 Elo)
-    if (   !rootNode
+    if (   !PvNode
         &&  depth < 7 * ONE_PLY
         &&  eval - futility_margin(depth, improving) >= beta
         &&  eval < VALUE_KNOWN_WIN) // Do not return unproven wins