From 581b92e4a70b99fa5a22f7a1a38f2c8d2099769f Mon Sep 17 00:00:00 2001 From: Unai Corzo Date: Mon, 17 Aug 2020 18:22:32 +0200 Subject: [PATCH] Remove last captures extension 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 https://github.com/official-stockfish/Stockfish/pull/3020 bench: 3832662 --- src/search.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/search.cpp b/src/search.cpp index 7c839dfc..1d5bc5f7 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1122,11 +1122,6 @@ moves_loop: // When in check, search starts from here && (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) -- 2.39.2