Simplify Capture Futility Pruning

Passed Non-regression STC:
LLR: 2.97 (-2.94,2.94) <-1.75,0.25>
Total: 187904 W: 48639 L: 48583 D: 90682
Ptnml(0-2): 560, 22150, 48502, 22154, 586
https://tests.stockfishchess.org/tests/view/68aad56075da51a345a5a9e3

Passed Non-regression LTC:
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 94302 W: 24246 L: 24101 D: 45955
Ptnml(0-2): 44, 10274, 26371, 10417, 45
https://tests.stockfishchess.org/tests/view/68ab541975da51a345a5aacf

closes https://github.com/official-stockfish/Stockfish/pull/6266

Bench: 2376717
This commit is contained in:
Shawn Xu
2025-08-30 15:09:00 +02:00
committed by Joost VandeVondele
parent 222df615c1
commit a289ee389a
+1 -2
View File
@@ -1041,9 +1041,8 @@ moves_loop: // When in check, search starts here
int captHist = captureHistory[movedPiece][move.to_sq()][type_of(capturedPiece)];
// Futility pruning for captures
if (!givesCheck && lmrDepth < 7 && !ss->inCheck)
if (!givesCheck && lmrDepth < 7)
{
Value futilityValue = ss->staticEval + 231 + 211 * lmrDepth
+ PieceValue[capturedPiece] + 130 * captHist / 1024;