X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fthread.cpp;h=c171312203f2125d9acfff40c892e09011231e58;hp=88331f0674e74169e9932924c8c6a7301c8f739c;hb=16566a8fcf76b9b72b6e746f318f77045df90017;hpb=f83cb95740de019db6ff5567d6f84f218b18cd9e diff --git a/src/thread.cpp b/src/thread.cpp index 88331f06..c1713122 100644 --- a/src/thread.cpp +++ b/src/thread.cpp @@ -151,7 +151,7 @@ void ThreadPool::set(size_t requested) { clear(); // Reallocate the hash with the new threadpool size - TT.resize(Options["Hash"]); + TT.resize(size_t(Options["Hash"])); // Init thread number dependent search params. Search::init(); @@ -212,7 +212,6 @@ void ThreadPool::start_thinking(Position& pos, StateListPtr& states, th->rootDepth = th->completedDepth = 0; th->rootMoves = rootMoves; th->rootPos.set(pos.fen(), pos.is_chess960(), &setupStates->back(), th); - th->lowPlyHistory.fill(0); } setupStates->back() = tmp;