From 4c294932e7b4a6ee3604f0c176dd01124524456f Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Mon, 15 Dec 2008 10:43:18 +0100 Subject: [PATCH] Better document null move dynamic reduction No functional change. Signed-off-by: Marco Costalba --- src/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search.cpp b/src/search.cpp index 6f2c48c9..ab3e6f66 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1183,7 +1183,7 @@ namespace { UndoInfo u; pos.do_null_move(u); - int R = (depth > 7 ? 4 : 3); + int R = (depth >= 4 * OnePly ? 4 : 3); // Null move dynamic reduction Value nullValue = -search(pos, ss, -(beta-1), depth-R*OnePly, ply+1, false, threadID); -- 2.39.2