]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Merge branch 'master' into increase_iid
[stockfish] / src / search.cpp
index f99f63beca57fda3d7e3b4780595e85f4d5c2b09..9ab8c800d8fbde01527d266b6a8fc1d0a9c314b8 100644 (file)
@@ -745,7 +745,7 @@ namespace {
         && ttMove == MOVE_NONE
         && (PvNode || (!inCheck && ss->staticEval + Value(256) >= beta)))
     {
-        Depth d = (PvNode ? depth - 2 * ONE_PLY : depth / 2);
+        Depth d = (PvNode ? depth - 2 * ONE_PLY : depth - 4 * ONE_PLY);
 
         ss->skipNullMove = true;
         search<PvNode ? PV : NonPV>(pos, ss, alpha, beta, d);