From: Marco Costalba Date: Mon, 23 Mar 2009 11:02:15 +0000 (+0100) Subject: Revert odd depths razoring X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=a9e55d43262d11a916bdfa68cd1de0174d884cd3;ds=sidebyside Revert odd depths razoring I have just made a new rule that no modification that increases pruning is allowed if after 1000 games ELO is not increased by at least 10 point (was +5 in this case) Yes, I like this kind of nosense rules :-) --- diff --git a/src/search.cpp b/src/search.cpp index d08f698f..0e383837 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1245,8 +1245,8 @@ namespace { { Value v = qsearch(pos, ss, beta-1, beta, Depth(0), ply, threadID); if ( (v < beta - RazorMargin - RazorMargin / 4) - || (depth < 3*OnePly && v < beta - RazorMargin) - || (depth < 2*OnePly && v < beta - RazorMargin / 2)) + || (depth <= 2*OnePly && v < beta - RazorMargin) + || (depth <= OnePly && v < beta - RazorMargin / 2)) return v; }