Skip to content

Commit

Permalink
Remove last captures extension
Browse files Browse the repository at this point in the history
STC https://tests.stockfishchess.org/tests/view/5f395657e98b6c64b3df41dd
LLR: 2.95 (-2.94,2.94) {-1.50,0.50}
Total: 144664 W: 15426 L: 15537 D: 113701
Ptnml(0-2): 612, 11341, 48537, 11230, 612

LTC https://tests.stockfishchess.org/tests/view/5f3a2ec7b38d442594aabdd7
LLR: 2.96 (-2.94,2.94) {-1.50,0.50}
Total: 22728 W: 1161 L: 1146 D: 20421
Ptnml(0-2): 21, 960, 9388, 973, 22

closes #3020

bench: 3832662
  • Loading branch information
unaiic authored and vondele committed Aug 18, 2020
1 parent 1c0b7bd commit 581b92e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/search.cpp
Expand Up @@ -1122,11 +1122,6 @@ namespace {
&& (pos.is_discovery_check_on_king(~us, move) || pos.see_ge(move)))
extension = 1;

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

// Castling extension
if ( type_of(move) == CASTLING
&& popcount(pos.pieces(us) & ~pos.pieces(PAWN) & (to_sq(move) & KingSide ? KingSide : QueenSide)) <= 2)
Expand Down

0 comments on commit 581b92e

Please sign in to comment.