X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;fp=src%2Fsearch.cpp;h=57316d85613b955cc14d3daedaffabc0887bc62f;hp=b0bcc57a44ee05f8f71fe2205d187f25622613fb;hb=56d5504f6548b69ce6faaa271a8b55f3773db70c;hpb=83ecfa7c33ab3e89fcbc506f0f4d5312baa26aeb diff --git a/src/search.cpp b/src/search.cpp index b0bcc57a..57316d85 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1003,7 +1003,11 @@ moves_loop: // When in check, search starts from here // Futility pruning: parent node (~2 Elo) if ( lmrDepth < 6 && !inCheck - && ss->staticEval + 255 + 182 * lmrDepth <= alpha) + && ss->staticEval + 255 + 182 * lmrDepth <= alpha + && thisThread->mainHistory[us][from_to(move)] + + (*contHist[0])[movedPiece][to_sq(move)] + + (*contHist[1])[movedPiece][to_sq(move)] + + (*contHist[3])[movedPiece][to_sq(move)] < 30000) continue; // Prune moves with negative SEE (~10 Elo)