]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
On IID do not always search with cutNode = true
[stockfish] / src / search.cpp
index 1db84c7e8522b12a488c9a4339e88f93fbad879e..d1b717b47124fece1fc71255ad68f6a4da90f2e7 100644 (file)
@@ -805,7 +805,7 @@ namespace {
     {
         Depth d = depth - 2 * ONE_PLY - (PvNode ? DEPTH_ZERO : depth / 4);
         ss->skipEarlyPruning = true;
-        search<NT>(pos, ss, alpha, beta, d, true);
+        search<NT>(pos, ss, alpha, beta, d, cutNode);
         ss->skipEarlyPruning = false;
 
         tte = TT.probe(posKey, ttHit);