]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
More negative extensions on nonsingular nonpv nodes.
[stockfish] / src / search.cpp
index 349d43894ddae621913021ea3812b1b7a071dafc..582e44576b37dda94eb71fc372daf7d4820a1d64 100644 (file)
@@ -1104,7 +1104,7 @@ moves_loop: // When in check, search starts here
 
               // If the eval of ttMove is greater than beta, we reduce it (negative extension)
               else if (ttValue >= beta)
-                  extension = -2;
+                  extension = -2 - !PvNode;
 
               // If the eval of ttMove is less than value, we reduce it (negative extension)
               else if (ttValue <= value)