Skip to content

Commit b6d1102

Browse files
locutus2snicolet
authored andcommitted
LMR for captures not cracking alpha
Enable LMR for a capture/promotion move which does not seem to have a good chance to fail high according to static eval and value of captured piece. STC: LLR: 2.96 (-2.94,2.94) [0.50,4.50] Total: 40477 W: 9158 L: 8792 D: 22527 http://tests.stockfishchess.org/tests/view/5cceedc60ebc5925cf04174f LTC: LLR: 2.94 (-2.94,2.94) [0.00,3.50] Total: 21926 W: 3873 L: 3634 D: 14419 http://tests.stockfishchess.org/tests/view/5ccf04310ebc5925cf041ab0 Bench: 3644175
1 parent aba906b commit b6d1102

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/search.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1008,7 +1008,9 @@ namespace {
10081008
// re-searched at full depth.
10091009
if ( depth >= 3 * ONE_PLY
10101010
&& moveCount > 1
1011-
&& (!captureOrPromotion || moveCountPruning))
1011+
&& ( !captureOrPromotion
1012+
|| moveCountPruning
1013+
|| ss->staticEval + PieceValue[EG][pos.captured_piece()] <= alpha))
10121014
{
10131015
Depth r = reduction<PvNode>(improving, depth, moveCount);
10141016

0 commit comments

Comments
 (0)