From 4fcd78ceb4a5cf25ee652ee7793bb0a3fa1f95df Mon Sep 17 00:00:00 2001 From: Shawn Xu Date: Mon, 18 Nov 2024 09:08:26 -0800 Subject: [PATCH] Simplify Probcut Bonus Passed STC: LLR: 2.99 (-2.94,2.94) <-1.75,0.25> Total: 172288 W: 44656 L: 44580 D: 83052 Ptnml(0-2): 507, 20650, 43782, 20670, 535 https://tests.stockfishchess.org/tests/view/673b74f986d5ee47d953f1a3 Passed LTC: LLR: 2.94 (-2.94,2.94) <-1.75,0.25> Total: 94596 W: 24098 L: 23953 D: 46545 Ptnml(0-2): 57, 10322, 26393, 10471, 55 https://tests.stockfishchess.org/tests/view/673d191886d5ee47d953f337 closes https://github.com/official-stockfish/Stockfish/pull/5688 Bench: 1031022 --- src/search.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/search.cpp b/src/search.cpp index 213bbdab..ace6385d 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -910,8 +910,7 @@ Value Search::Worker::search( if (value >= probCutBeta) { - thisThread->captureHistory[movedPiece][move.to_sq()][type_of(captured)] - << stat_bonus(depth - 2); + thisThread->captureHistory[movedPiece][move.to_sq()][type_of(captured)] << 1300; // Save ProbCut data into transposition table ttWriter.write(posKey, value_to_tt(value, ss->ply), ss->ttPv, BOUND_LOWER,