X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=1279fe9c588b837ff1664fbe44d0b9c8459f4567;hp=9c3e17b6606bf257f3fa0b6de275bcfd3497599a;hb=52cb3480230cc3142a2adca37a2f5ce733d0769b;hpb=c0bb0415394179e9c771cc96a9da6724fc14c167 diff --git a/src/search.cpp b/src/search.cpp index 9c3e17b6..1279fe9c 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -183,8 +183,6 @@ void Search::init() { for (int mc = 1; mc < 64; ++mc) { double r = log(d) * log(mc) / 2; - if (r < 0.80) - continue; Reductions[NonPV][imp][d][mc] = int(std::round(r)); Reductions[PV][imp][d][mc] = std::max(Reductions[NonPV][imp][d][mc] - 1, 0); @@ -214,6 +212,7 @@ void Search::clear() { th->counterMoves.clear(); th->fromTo.clear(); th->counterMoveHistory.clear(); + th->resetCalls = true; } Threads.main()->previousScore = VALUE_INFINITE;