From: Marco Costalba Date: Mon, 15 Dec 2008 09:43:18 +0000 (+0100) Subject: Better document null move dynamic reduction X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=4c294932e7b4a6ee3604f0c176dd01124524456f;ds=sidebyside Better document null move dynamic reduction No functional change. Signed-off-by: Marco Costalba --- 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);