From: Marco Costalba Date: Thu, 11 Dec 2008 15:27:27 +0000 (+0100) Subject: Null move only for depth > OnePly X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=9e3ab9099f056a864c2ac7596bf3474dce8ee167 Null move only for depth > OnePly Signed-off-by: Marco Costalba --- diff --git a/src/search.cpp b/src/search.cpp index 2fdc5ad1..a54d41b9 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1139,6 +1139,7 @@ namespace { // Null move search if ( allowNullmove + && depth > OnePly && !isCheck && ok_to_do_nullmove(pos) && approximateEval >= beta - NullMoveMargin)