From d138cbcf9d2730909a8925b81f0d171c01a5d446 Mon Sep 17 00:00:00 2001 From: Shawn Xu Date: Tue, 11 Feb 2025 20:18:44 -0800 Subject: [PATCH] corrhist fp bench 2892255 --- src/search.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/search.cpp b/src/search.cpp index 36823a08e2a..e4541c69024 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1053,7 +1053,8 @@ Value Search::Worker::search( lmrDepth += history / 3576; - Value futilityValue = ss->staticEval + (bestMove ? 49 : 135) + 150 * lmrDepth; + Value futilityValue = ss->staticEval + (bestMove ? 49 : 135) + 150 * lmrDepth + + std::abs(correctionValue) / 131072; // Futility pruning: parent node if (!ss->inCheck && lmrDepth < 12 && futilityValue <= alpha)