X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fthread.cpp;fp=src%2Fthread.cpp;h=f88e359b0373436db1f6c445f72f4b04448667e7;hp=e69120842c58f0be117c0b16e2c7800b14f54d26;hb=fda0161e3a5295a759f04a0e302567a773f82595;hpb=4f3804f3f39e573a24ece662cbf79fe30368ff1e diff --git a/src/thread.cpp b/src/thread.cpp index e6912084..f88e359b 100644 --- a/src/thread.cpp +++ b/src/thread.cpp @@ -136,10 +136,10 @@ void ThreadPool::set(size_t requested) { while (size() < requested) push_back(new Thread(size())); clear(); - } - // Reallocate the hash with the new threadpool size - TT.resize(Options["Hash"]); + // Reallocate the hash with the new threadpool size + TT.resize(Options["Hash"]); + } } /// ThreadPool::clear() sets threadPool data to initial values.