]> git.sesse.net Git - stockfish/commitdiff
Remove static eval threshold for extensions when giving check
authorLinmiao Xu <linmiao.xu@gmail.com>
Tue, 30 May 2023 22:24:54 +0000 (18:24 -0400)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Sun, 4 Jun 2023 21:05:28 +0000 (23:05 +0200)
Passed non-regression STC:
https://tests.stockfishchess.org/tests/view/647685d54a36543c4c9f4f2a
LLR: 2.93 (-2.94,2.94) <-1.75,0.25>
Total: 114688 W: 30701 L: 30571 D: 53416
Ptnml(0-2): 336, 12708, 31136, 12818, 346

Passed non-regression LTC:
https://tests.stockfishchess.org/tests/view/64774b02b81f005b572de770
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 107310 W: 28920 L: 28796 D: 49594
Ptnml(0-2): 33, 10427, 32621, 10531, 43

closes https://github.com/official-stockfish/Stockfish/pull/4599

bench 2597974

src/search.cpp

index 1e82203a7775f7e4232f5b27f469667c6049b7c6..4365b215c40931fc35a5db4fa0c4ec318489fab2 100644 (file)
@@ -1085,7 +1085,8 @@ moves_loop: // When in check, search starts here
           }
 
           // Check extensions (~1 Elo)
-          else if (   givesCheck && depth > 8)
+          else if (   givesCheck
+                   && depth > 9)
               extension = 1;
 
           // Quiet ttMove extensions (~1 Elo)