mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-06 10:53:50 +08:00
Simplify quiet move streak logic
Passed non-regression STC LLR: 2.95 (-2.94,2.94) <-1.75,0.25> Total: 148960 W: 38409 L: 38312 D: 72239 Ptnml(0-2): 372, 17664, 38318, 17747, 379 https://tests.stockfishchess.org/tests/view/684c5773703522d4f129c5f7 Passed non-regression LTC LLR: 2.96 (-2.94,2.94) <-1.75,0.25> Total: 180720 W: 46188 L: 46130 D: 88402 Ptnml(0-2): 84, 19608, 50929, 19644, 95 https://tests.stockfishchess.org/tests/view/68505fa5703522d4f129cbab closes https://github.com/official-stockfish/Stockfish/pull/6143 Bench: 2055894
This commit is contained in:
@@ -1206,8 +1206,7 @@ moves_loop: // When in check, search starts here
|
||||
if ((ss + 1)->cutoffCnt > 2)
|
||||
r += 1036 + allNode * 848;
|
||||
|
||||
if (!capture && !givesCheck && ss->quietMoveStreak >= 2)
|
||||
r += (ss->quietMoveStreak - 1) * 50;
|
||||
r += (ss + 1)->quietMoveStreak * 50;
|
||||
|
||||
// For first picked move (ttMove) reduce reduction
|
||||
if (move == ttData.move)
|
||||
|
||||
Reference in New Issue
Block a user