From a9e55d43262d11a916bdfa68cd1de0174d884cd3 Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Mon, 23 Mar 2009 12:02:15 +0100 Subject: [PATCH] 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 :-) --- src/search.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.39.2