mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-19 16:46:30 +08:00
Null move only for depth > OnePly
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -1139,6 +1139,7 @@ namespace {
|
||||
|
||||
// Null move search
|
||||
if ( allowNullmove
|
||||
&& depth > OnePly
|
||||
&& !isCheck
|
||||
&& ok_to_do_nullmove(pos)
|
||||
&& approximateEval >= beta - NullMoveMargin)
|
||||
|
||||
Reference in New Issue
Block a user