]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Always extend full ply in PV
[stockfish] / src / search.cpp
index ab34a8451cceda529f7996faf4df0500d6715f0c..7efb3928bf4a86c2efca25b7ead1b4d766eb461d 100644 (file)
@@ -1154,7 +1154,7 @@ namespace {
           {
               Value excValue = search(pos, ss, ttValue - OnlyMoveMargin, Max(Min(depth / 2,  depth - 4 * OnePly), OnePly), ply, false, threadID, tte->move());
               if (excValue < ttValue - OnlyMoveMargin)
           {
               Value excValue = search(pos, ss, ttValue - OnlyMoveMargin, Max(Min(depth / 2,  depth - 4 * OnePly), OnePly), ply, false, threadID, tte->move());
               if (excValue < ttValue - OnlyMoveMargin)
-                  ext = (depth >= 8 * OnePly)? OnePly : ext + OnePly / 2;
+                  ext = OnePly;
           }
       }
 
           }
       }