]> git.sesse.net Git - stockfish/commitdiff
Merge branch 'master' into increase_iid
authorMarco Costalba <mcostalba@gmail.com>
Fri, 29 Mar 2013 21:50:04 +0000 (22:50 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Fri, 29 Mar 2013 21:50:04 +0000 (22:50 +0100)
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);