1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-07-11 19:49:14 +00:00

History update for pruned captures

Use a SEE pruned capture move for history updates: this patch collects
pruned capture moves also in the failed captures list, so that they get
an update in capture history.

STC:
LLR: 2.95 (-2.94,2.94) {-1.00,3.00}
Total: 11124 W: 2222 L: 2089 D: 6813
Ptnml(0-2): 186, 1280, 2506, 1381, 200
http://tests.stockfishchess.org/tests/view/5e28995fc3b97aa0d75bc294

LTC:
LLR: 2.94 (-2.94,2.94) {0.00,2.00}
Total: 25552 W: 3418 L: 3211 D: 18923
Ptnml(0-2): 168, 2354, 7538, 2490, 200
http://tests.stockfishchess.org/tests/view/5e2943734744cfa4d6af415b

Closes https://github.com/official-stockfish/Stockfish/pull/2511

Bench: 4810202
This commit is contained in:
Stefan Geschwentner 2020-01-23 15:41:03 +01:00 committed by Stéphane Nicolet
parent 18fc21eba0
commit 01b6088af3

View file

@ -1028,7 +1028,11 @@ moves_loop: // When in check, search starts from here
continue;
}
else if (!pos.see_ge(move, Value(-194) * depth)) // (~25 Elo)
continue;
{
if (captureOrPromotion && captureCount < 32)
capturesSearched[captureCount++] = move;
continue;
}
}
// Step 14. Extensions (~75 Elo)