Skip to content

Commit b64a9bb

Browse files
locutus2snicolet
authored andcommitted
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 official-stockfish/Stockfish#2511 Bench: 4810202
1 parent 0559eba commit b64a9bb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/search.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1028,7 +1028,11 @@ namespace {
10281028
continue;
10291029
}
10301030
else if (!pos.see_ge(move, Value(-194) * depth)) // (~25 Elo)
1031-
continue;
1031+
{
1032+
if (captureOrPromotion && captureCount < 32)
1033+
capturesSearched[captureCount++] = move;
1034+
continue;
1035+
}
10321036
}
10331037

10341038
// Step 14. Extensions (~75 Elo)

0 commit comments

Comments
 (0)