1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 08:43:09 +00:00

Null move only for depth > OnePly

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba 2008-12-11 16:27:27 +01:00
parent f09884d72f
commit 9e3ab9099f

View file

@ -1139,6 +1139,7 @@ namespace {
// Null move search
if ( allowNullmove
&& depth > OnePly
&& !isCheck
&& ok_to_do_nullmove(pos)
&& approximateEval >= beta - NullMoveMargin)