From 6c429c4d6527a8e88d2ad1e7bfc8f4bd0ec05729 Mon Sep 17 00:00:00 2001 From: Unai Corzo Date: Sat, 28 Nov 2020 16:32:52 +0100 Subject: [PATCH] Search simplification STC https://tests.stockfishchess.org/tests/view/5fc2083942a050a89f02c8bb LLR: 2.93 (-2.94,2.94) {-1.25,0.25} Total: 23200 W: 2251 L: 2160 D: 18789 Ptnml(0-2): 86, 1726, 7895, 1797, 96 LTC https://tests.stockfishchess.org/tests/view/5fc22d7b42a050a89f02c8d0 LLR: 2.92 (-2.94,2.94) {-0.75,0.25} Total: 15832 W: 653 L: 590 D: 14589 Ptnml(0-2): 7, 521, 6795, 588, 5 closes https://github.com/official-stockfish/Stockfish/pull/3244/files bench: 3827317 Simplify search. --- src/search.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/search.cpp b/src/search.cpp index d854cd95..99d1cb0e 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1554,7 +1554,6 @@ moves_loop: // When in check, search starts from here // Do not search moves with negative SEE values if ( bestValue > VALUE_TB_LOSS_IN_MAX_PLY - && !(givesCheck && pos.is_discovery_check_on_king(~pos.side_to_move(), move)) && !pos.see_ge(move)) continue; -- 2.39.2