mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 14:27:45 +00:00
Smaller null move reduction when depth is high
Lower probability to miss something important. It seems to increase strenght. Idea form Cyclone. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
+2
-1
@@ -1148,7 +1148,8 @@ namespace {
|
|||||||
|
|
||||||
UndoInfo u;
|
UndoInfo u;
|
||||||
pos.do_null_move(u);
|
pos.do_null_move(u);
|
||||||
Value nullValue = -search(pos, ss, -(beta-1), depth-4*OnePly, ply+1, false, threadID);
|
int R = (depth > 7 ? 4 : 3);
|
||||||
|
Value nullValue = -search(pos, ss, -(beta-1), depth-R*OnePly, ply+1, false, threadID);
|
||||||
pos.undo_null_move(u);
|
pos.undo_null_move(u);
|
||||||
|
|
||||||
if (nullValue >= beta)
|
if (nullValue >= beta)
|
||||||
|
|||||||
Reference in New Issue
Block a user