]> git.sesse.net Git - stockfish/commitdiff
Increase non-PV IID search depth
authorMarco Costalba <mcostalba@gmail.com>
Fri, 22 Mar 2013 19:57:31 +0000 (20:57 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Fri, 22 Mar 2013 19:57:31 +0000 (20:57 +0100)
bench: 5146380

src/search.cpp

index 7a06dad93f94035b046c9384938ce6d8d0b983b1..8ef2513dd1a895c0fdda2ed28af7c5587f06de51 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);