From: Marco Costalba Date: Tue, 10 Nov 2009 17:15:22 +0000 (+0100) Subject: Don't futility-prune ttMove X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=3c085775d7ce072000f1b5c09921127489806efc Don't futility-prune ttMove After 933 games Mod vs Orig +219 =505 -208 +4 ELO A small increase as expected. Signed-off-by: Marco Costalba --- diff --git a/src/search.cpp b/src/search.cpp index 44c29ec8..c4e061bd 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1398,7 +1398,8 @@ namespace { // Futility pruning if ( useFutilityPruning && !dangerous - && !captureOrPromotion) + && !captureOrPromotion + && move != ttMove) { // History pruning. See ok_to_prune() definition if ( moveCount >= 2 + int(depth) @@ -1609,6 +1610,7 @@ namespace { && !isCheck && !pvNode && !moveIsCheck + && move != ttMove && !move_is_promotion(move) && !pos.move_is_passed_pawn_push(move)) {