X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fthread.cpp;h=202768c863cc9e1f6ca7d0f38de44fb9f1674a43;hb=b36d39de3d61b8f31c11d85233631aafaf760ee1;hp=c680393e27752135aa95ea76943233bc539fb83e;hpb=59f2085469a7dd96146905a5d8d0c1a5d987187d;p=stockfish diff --git a/src/thread.cpp b/src/thread.cpp index c680393e..202768c8 100644 --- a/src/thread.cpp +++ b/src/thread.cpp @@ -160,6 +160,7 @@ void ThreadPool::clear() { main()->bestPreviousScore = VALUE_INFINITE; main()->bestPreviousAverageScore = VALUE_INFINITE; main()->previousTimeReduction = 1.0; + main()->complexity = 1.0; }