]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Remove previousScore adjustment of delta.
[stockfish] / src / search.cpp
index abc6874e99583360a679ffe1cdad8806fee34861..f866afe5ce7b887747e80da04e79c6593a8713f2 100644 (file)
@@ -433,7 +433,7 @@ void Thread::search() {
           if (rootDepth >= 4)
           {
               Value previousScore = rootMoves[pvIdx].previousScore;
-              delta = Value(21 + abs(previousScore) / 256);
+              delta = Value(21);
               alpha = std::max(previousScore - delta,-VALUE_INFINITE);
               beta  = std::min(previousScore + delta, VALUE_INFINITE);
 
@@ -1182,7 +1182,7 @@ moves_loop: // When in check, search starts from here
                   r++;
 
               // Decrease/increase reduction for moves with a good/bad history (~30 Elo)
-              r -= ss->statScore / 16384;
+              r -= ss->statScore / 16434;
           }
 
           // Increase reduction for captures/promotions if late move and at low depth