X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=a9e76c452d9ae958603d7bc3efa7ca7dac8ce05c;hp=85817cd16f36c98183e57503a685215ded87feab;hb=72a501c6fe5e4e7b61291e9603d0c6cc0902e618;hpb=35b77b120ef5ca5d9db848e02e42642b1a93e982 diff --git a/src/search.cpp b/src/search.cpp index 85817cd1..a9e76c45 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -898,6 +898,7 @@ moves_loop: // When in check search starts from here // Step 13. Pruning at shallow depth if ( !rootNode + && pos.non_pawn_material(pos.side_to_move()) && bestValue > VALUE_MATED_IN_MAX_PLY) { if ( !captureOrPromotion