]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Reduce more CUT nodes
[stockfish] / src / search.cpp
index 4ca9e9b8c0f834d8ccbcf91e3defdeae9fed24bd..a10e1180c344a3af45a23bf293386d27cc48ddbf 100644 (file)
@@ -948,6 +948,10 @@ split_point_start: // At split points actual search starts from here
           &&  move != ss->killers[1])
       {
           ss->reduction = reduction<PvNode>(depth, moveCount);
           &&  move != ss->killers[1])
       {
           ss->reduction = reduction<PvNode>(depth, moveCount);
+
+          if (!PvNode && cutNode)
+              ss->reduction += ONE_PLY;
+
           if (move == countermoves[0] || move == countermoves[1])
               ss->reduction = std::max(DEPTH_ZERO, ss->reduction-ONE_PLY);
 
           if (move == countermoves[0] || move == countermoves[1])
               ss->reduction = std::max(DEPTH_ZERO, ss->reduction-ONE_PLY);