1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 00:33:09 +00:00

Better document null move dynamic reduction

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba 2008-12-15 10:43:18 +01:00
parent c831b00544
commit 4c294932e7

View file

@ -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);