X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=1db84c7e8522b12a488c9a4339e88f93fbad879e;hp=0b4125fcdd6ccf05279c848c1257eed89c042343;hb=1c0c4db6775fae5a8b785630f4fd406c235880d9;hpb=8e45e70e55c42c4750ccb729dcd49cdaafe5af44 diff --git a/src/search.cpp b/src/search.cpp index 0b4125fc..1db84c7e 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -873,9 +873,9 @@ moves_loop: // When in check search starts from here && moveCount >= FutilityMoveCounts[improving][depth]; // Step 12. Extend checks - if ( givesCheck - && ( moveCount == 1 - || (!moveCountPruning && pos.see_sign(move) >= VALUE_ZERO))) + if ( givesCheck + && !moveCountPruning + && pos.see_sign(move) >= VALUE_ZERO) extension = ONE_PLY; // Singular extension search. If all moves but one fail low on a search of