From d2cb927a04829e5bfa3e91ce3c1da327ed65d520 Mon Sep 17 00:00:00 2001 From: Shawn Xu Date: Wed, 19 Mar 2025 17:06:11 -0700 Subject: [PATCH] Simplify TT cutoff conthist updates Passed Non-regression STC: LLR: 2.95 (-2.94,2.94) <-1.75,0.25> Total: 86304 W: 22251 L: 22084 D: 41969 Ptnml(0-2): 250, 10214, 22123, 10249, 316 https://tests.stockfishchess.org/tests/view/67db60cd8c7f315cc372aae7 Passed Non-regression LTC: LLR: 2.94 (-2.94,2.94) <-1.75,0.25> Total: 199158 W: 50655 L: 50617 D: 97886 Ptnml(0-2): 103, 21579, 56182, 21607, 108 https://tests.stockfishchess.org/tests/view/67dcdc5b8c7f315cc372ac12 closes https://github.com/official-stockfish/Stockfish/pull/5945 Bench: 2069191 --- src/search.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/search.cpp b/src/search.cpp index 99bf47825..ee4e89556 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -720,8 +720,7 @@ Value Search::Worker::search( // Extra penalty for early quiet moves of the previous ply if (prevSq != SQ_NONE && (ss - 1)->moveCount <= 3 && !priorCapture) - update_continuation_histories(ss - 1, pos.piece_on(prevSq), prevSq, - -std::min(809 * (depth + 1) - 249, 3052)); + update_continuation_histories(ss - 1, pos.piece_on(prevSq), prevSq, -2200); } // Partial workaround for the graph history interaction problem