From 14b2576e3d56f92459fda4ede1929dada3c358a6 Mon Sep 17 00:00:00 2001 From: Shawn Xu Date: Sat, 21 Dec 2024 12:06:35 -0800 Subject: [PATCH] Simplify post-lmr conthist bonus bench 989661 --- src/search.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/search.cpp b/src/search.cpp index 192b837c902..0343e37e1cf 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1216,8 +1216,8 @@ Value Search::Worker::search( value = -search(pos, ss + 1, -(alpha + 1), -alpha, newDepth, !cutNode); // Post LMR continuation history updates (~1 Elo) - int bonus = (value >= beta) * stat_bonus(newDepth); - update_continuation_histories(ss, movedPiece, move.to_sq(), bonus * 1427 / 1024); + int bonus = (value >= beta) * 2048; + update_continuation_histories(ss, movedPiece, move.to_sq(), bonus); } }