]> git.sesse.net Git - stockfish/blobdiff - src/thread.cpp
Singular quiet LMR
[stockfish] / src / thread.cpp
index 88331f0674e74169e9932924c8c6a7301c8f739c..c171312203f2125d9acfff40c892e09011231e58 100644 (file)
@@ -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;