X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=8f7d263aa0367973286914920c6c231b49be1ebb;hp=28fbf25418cad775b3eb549eb8d0c49440576955;hb=198418ee67895817f2fad63f4935540e17cd7117;hpb=bd4d2b0576ec320367769d5720c7a5b4d094ceef diff --git a/src/search.cpp b/src/search.cpp index 28fbf254..8f7d263a 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -998,18 +998,12 @@ moves_loop: // When in check, search starts from here { Depth r = reduction(improving, depth, moveCount); - if (captureOrPromotion) // (~5 Elo) - { - // Decrease reduction by comparing opponent's stat score - if ((ss-1)->statScore < 0) - r -= ONE_PLY; - } - else - { - // Decrease reduction if opponent's move count is high (~5 Elo) - if ((ss-1)->moveCount > 15) - r -= ONE_PLY; + // Decrease reduction if opponent's move count is high (~10 Elo) + if ((ss-1)->moveCount > 15) + r -= ONE_PLY; + if (!captureOrPromotion) + { // Decrease reduction for exact PV nodes (~0 Elo) if (pvExact) r -= ONE_PLY;