]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Tweak LMR and killers
[stockfish] / src / search.cpp
index 2c2321ee9ca0bb5f48bd99b4fc068986a8d2a297..1fc0bf1e6c6455ea470ad7047d80c8a5d2e85ef5 100644 (file)
@@ -1144,6 +1144,9 @@ moves_loop: // When in check, search starts from here
               int bonus = value > alpha ?  stat_bonus(newDepth)
                                         : -stat_bonus(newDepth);
 
+              if (move == ss->killers[0])
+                 bonus += bonus / 4;
+
               update_continuation_histories(ss, movedPiece, to_sq(move), bonus);
           }
       }