From 0282edc0b06017b5f03971510cdb23e105fe9851 Mon Sep 17 00:00:00 2001 From: FauziAkram Date: Wed, 20 Nov 2024 01:09:39 +0300 Subject: [PATCH] Simplify bonus formula Give full bonus instead of half. Passed STC: LLR: 2.95 (-2.94,2.94) <-1.75,0.25> Total: 23872 W: 6254 L: 6018 D: 11600 Ptnml(0-2): 80, 2691, 6152, 2939, 74 https://tests.stockfishchess.org/tests/view/673b709686d5ee47d953f19d Passed LTC: LLR: 2.95 (-2.94,2.94) <-1.75,0.25> Total: 42894 W: 10924 L: 10725 D: 21245 Ptnml(0-2): 30, 4592, 12011, 4777, 37 https://tests.stockfishchess.org/tests/view/673bb50386d5ee47d953f1eb closes https://github.com/official-stockfish/Stockfish/pull/5683 Bench: 836558 --- src/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search.cpp b/src/search.cpp index 50b31d2a..f1942a4f 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -765,7 +765,7 @@ Value Search::Worker::search( thisThread->mainHistory[~us][((ss - 1)->currentMove).from_to()] << bonus; if (type_of(pos.piece_on(prevSq)) != PAWN && ((ss - 1)->currentMove).type_of() != PROMOTION) thisThread->pawnHistory[pawn_structure_index(pos)][pos.piece_on(prevSq)][prevSq] - << bonus / 2; + << bonus; } // Set up the improving flag, which is true if current static evaluation is