From 8551f86efce1d55c3cf5bb639247212a3c290bdf Mon Sep 17 00:00:00 2001 From: Daniel Monroe Date: Sat, 25 Oct 2025 03:23:06 -0400 Subject: [PATCH] Remove check term in capture movepick Passed simplification STC LLR: 2.96 (-2.94,2.94) <-1.75,0.25> Total: 248448 W: 64697 L: 64708 D: 119043 Ptnml(0-2): 784, 29393, 63971, 29202, 874 https://tests.stockfishchess.org/tests/view/68fc7afb637acd2a11e72d86 Passed simplification LTC LLR: 2.94 (-2.94,2.94) <-1.75,0.25> Total: 193626 W: 49808 L: 49764 D: 94054 Ptnml(0-2): 162, 21415, 53621, 21447, 168 https://tests.stockfishchess.org/tests/view/6901ad09637acd2a11e73828 closes https://github.com/official-stockfish/Stockfish/pull/6395 bench 2920273 --- src/movepick.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/movepick.cpp b/src/movepick.cpp index 2eec3556b..b5b02609e 100644 --- a/src/movepick.cpp +++ b/src/movepick.cpp @@ -153,7 +153,7 @@ ExtMove* MovePicker::score(MoveList& ml) { if constexpr (Type == CAPTURES) m.value = (*captureHistory)[pc][to][type_of(capturedPiece)] - + 7 * int(PieceValue[capturedPiece]) + 1024 * bool(pos.check_squares(pt) & to); + + 7 * int(PieceValue[capturedPiece]); else if constexpr (Type == QUIETS) {