X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=f9910fb72087dae7f4c2750fd748978d09c7f61d;hp=3d130efcdb2e790917470f6fe968e0bd19ee14a2;hb=c077bfb413fbed8d6fa94459135ca81f9977c2f2;hpb=47be966d3028ca9b5c4d095f266663eb205c0c07 diff --git a/src/search.cpp b/src/search.cpp index 3d130efc..f9910fb7 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1175,13 +1175,6 @@ moves_loop: // When in check, search starts from here + (*contHist[3])[movedPiece][to_sq(move)] - 4926; - // Reset statScore to zero if negative and most stats shows >= 0 - if ( ss->statScore < 0 - && (*contHist[0])[movedPiece][to_sq(move)] >= 0 - && (*contHist[1])[movedPiece][to_sq(move)] >= 0 - && thisThread->mainHistory[us][from_to(move)] >= 0) - ss->statScore = 0; - // Decrease/increase reduction by comparing opponent's stat score (~10 Elo) if (ss->statScore >= -102 && (ss-1)->statScore < -114) r--;