Provide selective search depth info for each pv move

No functional change

Closes #1166
This commit is contained in:
joergoster
2017-07-13 16:30:03 -07:00
committed by Joona Kiiski
parent 36a93d90f7
commit 377d77dbe9
4 changed files with 10 additions and 6 deletions

View File

@@ -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;