From 05e39527a89c9de535c7d3eab67accb3b307c9bd Mon Sep 17 00:00:00 2001 From: gab8192 Date: Wed, 30 Apr 2025 15:44:34 +0200 Subject: [PATCH] Simplify low-ply history weight Passed Non-regression STC: LLR: 2.97 (-2.94,2.94) <-1.75,0.25> Total: 116064 W: 30095 L: 29959 D: 56010 Ptnml(0-2): 333, 13753, 29731, 13875, 340 https://tests.stockfishchess.org/tests/view/681229f53629b02d74b168d3 Passed Non-regression LTC: LLR: 2.94 (-2.94,2.94) <-1.75,0.25> Total: 172824 W: 44096 L: 44031 D: 84697 Ptnml(0-2): 91, 18868, 48410, 18971, 72 https://tests.stockfishchess.org/tests/view/681474243629b02d74b16b44 closes https://github.com/official-stockfish/Stockfish/pull/6053 Bench: 2064179 --- src/movepick.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/movepick.cpp b/src/movepick.cpp index 882ca67d5..1c278147f 100644 --- a/src/movepick.cpp +++ b/src/movepick.cpp @@ -178,7 +178,7 @@ void MovePicker::score() { } if (ply < LOW_PLY_HISTORY_SIZE) - m.value += 8 * (*lowPlyHistory)[ply][m.from_to()] / (1 + 2 * ply); + m.value += 8 * (*lowPlyHistory)[ply][m.from_to()] / (1 + ply); } else // Type == EVASIONS