X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fsearch.cpp;h=ed2b5743e6e2e353d36405b17f14922d095f52ce;hb=5f8480a730cbc789d230dd28f276b8d35ce0a8a4;hp=656558f87c472821f20898965dd0be30e8d47a1e;hpb=eb9aaf94891f17a62798c59226642fa172972204;p=stockfish diff --git a/src/search.cpp b/src/search.cpp index 656558f8..ed2b5743 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1323,12 +1323,12 @@ moves_loop: // When in check, search starts here } else { - // Reduce other moves if we have found at least one score improvement (~1 Elo) - // Reduce more for depth > 3 and depth < 12 (~1 Elo) - if ( depth > 1 + // Reduce other moves if we have found at least one score improvement (~2 Elo) + if ( depth > 2 + && depth < 12 && beta < 14362 && value > -12393) - depth -= depth > 3 && depth < 12 ? 2 : 1; + depth -= 2; assert(depth > 0); alpha = value; // Update alpha! Always alpha < beta