X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=866444a8388e29236d50ec4a609a59f11f45df74;hp=bafc374ba29993ab05b62c8ec95729990a7fbbb8;hb=368f976fb6fc9096d7f19b0443fb4d1af40eec14;hpb=b6d11028bbb5e428cdbd709ba46d8b14bab17c88 diff --git a/src/search.cpp b/src/search.cpp index bafc374b..866444a8 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1007,7 +1007,7 @@ moves_loop: // When in check, search starts from here // Step 16. Reduced depth search (LMR). If the move fails high it will be // re-searched at full depth. if ( depth >= 3 * ONE_PLY - && moveCount > 1 + && moveCount > 1 + 3 * rootNode && ( !captureOrPromotion || moveCountPruning || ss->staticEval + PieceValue[EG][pos.captured_piece()] <= alpha))