Skip to content

Commit

Permalink
tweak last capture extension
Browse files Browse the repository at this point in the history
  • Loading branch information
ianfab committed Jul 14, 2020
1 parent 0cc01f6 commit 3c64f5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/search.cpp
Expand Up @@ -1166,7 +1166,7 @@ namespace {
extension = 1;

// Last captures extension
else if ( PieceValue[EG][pos.captured_piece()] > PawnValueEg
else if ( PieceValue[EG][pos.captured_piece()] > 3 * PawnValueEg
&& pos.non_pawn_material() <= 2 * RookValueMg)
extension = 1;

Expand Down

0 comments on commit 3c64f5e

Please sign in to comment.