From: ElbertoOne Date: Tue, 2 Oct 2018 07:07:29 +0000 (+0200) Subject: Simplify check extensions X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=738a6dfd4c71c3ce11d614076117793b4cdf119e;hp=97d2cc9a9c1c4b6ff1b470676fa18c7fc6509886 Simplify check extensions Remove the !moveCountPruning condition for check extensions, which seems not necessary. STC: LLR: 2.95 (-2.94,2.94) [-3.00,1.00] Total: 22238 W: 4835 L: 4715 D: 12688 http://tests.stockfishchess.org/tests/view/5bb3241a0ebc592439f6d2ac LTC: LLR: 2.95 (-2.94,2.94) [-3.00,1.00] Total: 36593 W: 5898 L: 5802 D: 24893 http://tests.stockfishchess.org/tests/view/5bb34c220ebc592439f6d5dc Bench: 4274207 --- diff --git a/src/search.cpp b/src/search.cpp index 7dc67488..c78a71a9 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -933,7 +933,6 @@ moves_loop: // When in check, search starts from here extension = ONE_PLY; } else if ( givesCheck // Check extension (~2 Elo) - && !moveCountPruning && pos.see_ge(move)) extension = ONE_PLY;