mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 16:53:09 +00:00
Null move only for depth > OnePly
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
f09884d72f
commit
9e3ab9099f
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Reference in a new issue