From: VoyagerOne Date: Sun, 29 Jan 2017 07:54:58 +0000 (-0500) Subject: Simplify TT penalty stat (#980) X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=fa24cc25a43da5ac41a086edda02dfc2e8e9b830 Simplify TT penalty stat (#980) STC: LLR: 2.95 (-2.94,2.94) [-3.00,1.00] Total: 20251 W: 3692 L: 3570 D: 12989 LTC: LLR: 2.95 (-2.94,2.94) [-3.00,1.00] Total: 16432 W: 2155 L: 2029 D: 12248 Bench: 5941174 --- diff --git a/src/search.cpp b/src/search.cpp index b75870ff..b891d09b 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -657,7 +657,7 @@ namespace { update_cm_stats(ss-1, pos.piece_on(prevSq), prevSq, -stat_bonus(depth + ONE_PLY)); } // Penalty for a quiet ttMove that fails low - else if (ttValue < alpha && !pos.capture_or_promotion(ttMove)) + else if (!pos.capture_or_promotion(ttMove)) { Value penalty = -stat_bonus(depth + ONE_PLY); thisThread->history.update(pos.side_to_move(), ttMove, penalty);