]> git.sesse.net Git - stockfish/commitdiff
Search simplification
authorUnai Corzo <corzounai@gmail.com>
Sat, 28 Nov 2020 15:32:52 +0000 (16:32 +0100)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Sun, 29 Nov 2020 15:42:40 +0000 (16:42 +0100)
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

index d854cd95d1d5dc75b13b698b0f95cf0de7485191..99d1cb0ebcc5e3388bc42bdb4370e163f6bde52f 100644 (file)
@@ -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
 
       // 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;
 
           && !pos.see_ge(move))
           continue;