X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fthread.cpp;h=86fce6aa0c20020b6c54666c874a5231793d6c9e;hp=66f74b997342c0db87304f29ab5eb1c58983119c;hb=973ede008a910b8c089e018f27d07632b6173151;hpb=36a93d90f76d32e16a5f2acb09b7de2d67225021 diff --git a/src/thread.cpp b/src/thread.cpp index 66f74b99..86fce6aa 100644 --- a/src/thread.cpp +++ b/src/thread.cpp @@ -35,7 +35,7 @@ ThreadPool Threads; // Global object Thread::Thread() { exit = false; - maxPly = 0; + selDepth = 0; nodes = tbHits = 0; idx = Threads.size(); // Start from 0 @@ -210,7 +210,6 @@ void ThreadPool::start_thinking(Position& pos, StateListPtr& states, for (Thread* th : Threads) { - th->maxPly = 0; th->nodes = 0; th->tbHits = 0; th->rootDepth = DEPTH_ZERO;