mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 00:56:39 +08:00
Better document null move dynamic reduction
No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -1183,7 +1183,7 @@ namespace {
|
|||||||
|
|
||||||
UndoInfo u;
|
UndoInfo u;
|
||||||
pos.do_null_move(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);
|
Value nullValue = -search(pos, ss, -(beta-1), depth-R*OnePly, ply+1, false, threadID);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user