mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 00:56:39 +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
|
// Null move search
|
||||||
if ( allowNullmove
|
if ( allowNullmove
|
||||||
|
&& depth > OnePly
|
||||||
&& !isCheck
|
&& !isCheck
|
||||||
&& ok_to_do_nullmove(pos)
|
&& ok_to_do_nullmove(pos)
|
||||||
&& approximateEval >= beta - NullMoveMargin)
|
&& approximateEval >= beta - NullMoveMargin)
|
||||||
|
|||||||
Reference in New Issue
Block a user