From fa24cc25a43da5ac41a086edda02dfc2e8e9b830 Mon Sep 17 00:00:00 2001 From: VoyagerOne Date: Sun, 29 Jan 2017 02:54:58 -0500 Subject: [PATCH] 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 --- src/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.2