Skip to content

Commit e4c6479

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 3386351 commit e4c6479

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
@@ -1030,7 +1030,11 @@ namespace {
10301030
continue;
10311031
}
10321032
else if (!pos.see_ge(move, Value(-194) * depth)) // (~25 Elo)
1033-
continue;
1033+
{
1034+
if (captureOrPromotion && captureCount < 32)
1035+
capturesSearched[captureCount++] = move;
1036+
continue;
1037+
}
10341038
}
10351039

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

0 commit comments

Comments
 (0)