From 0dabf4f3fab2356111cbcf058be167bd43ac2479 Mon Sep 17 00:00:00 2001 From: FauziAkram Date: Sun, 16 Mar 2025 15:37:42 +0300 Subject: [PATCH] Removing the conditional bonus calculation The new value is just a guessed value. Passed STC: https://tests.stockfishchess.org/tests/view/67d5ee09517865b4a2dfd2df LLR: 2.95 (-2.94,2.94) <-1.75,0.25> Total: 52128 W: 13516 L: 13312 D: 25300 Ptnml(0-2): 157, 6044, 13451, 6262, 150 Passed LTC: LLR: 2.94 (-2.94,2.94) <-1.75,0.25> Total: 42384 W: 10855 L: 10657 D: 20872 Ptnml(0-2): 19, 4554, 11852, 4744, 23 https://tests.stockfishchess.org/tests/view/67d5f9d3517865b4a2dfd2ef closes https://github.com/official-stockfish/Stockfish/pull/5933 Bench: 2030154 --- src/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search.cpp b/src/search.cpp index a91fb3c1b..2da19f32e 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1279,7 +1279,7 @@ moves_loop: // When in check, search starts here value = -search(pos, ss + 1, -(alpha + 1), -alpha, newDepth, !cutNode); // Post LMR continuation history updates - int bonus = (value >= beta) * 1800; + int bonus = 1600; update_continuation_histories(ss, movedPiece, move.to_sq(), bonus); } else if (value > alpha && value < bestValue + 9)