X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fsearch.cpp;h=10844746ccc88de74362ddf30d65c4dbb5896280;hb=4f24ee086828e28df7d0b2dce5c13732139e7c19;hp=429db9a5b28d4d40beee59ffeff974f4fb4ae534;hpb=f030a1c592eabfa602ff8560d365e516298363ce;p=stockfish diff --git a/src/search.cpp b/src/search.cpp index 429db9a5..10844746 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1021,8 +1021,8 @@ moves_loop: // When in check, search starts here + (*contHist[3])[movedPiece][to_sq(move)]; // Continuation history based pruning (~2 Elo) - if ( lmrDepth < 5 - && history < -3792 * (depth - 1)) + if ( lmrDepth < 6 + && history < -3792 * depth) continue; history += 2 * thisThread->mainHistory[us][from_to(move)];