Merge branch 'master' into clusterMergeMaster6

This commit is contained in:
Joost VandeVondele
2019-07-01 16:36:58 +02:00
27 changed files with 344 additions and 293 deletions
+2 -1
View File
@@ -20,6 +20,7 @@
#include <cassert>
#include <algorithm> // For std::count
#include "movegen.h"
#include "search.h"
#include "thread.h"
@@ -193,7 +194,7 @@ void ThreadPool::start_thinking(Position& pos, StateListPtr& states,
for (Thread* th : *this)
{
th->nodes = th->tbHits = th->TTsaves = th->nmpMinPly = 0;
th->shuffleExts = th->nodes = th->tbHits = th->TTsaves = th->nmpMinPly = 0;
th->rootDepth = th->completedDepth = DEPTH_ZERO;
th->rootMoves = rootMoves;
th->rootPos.set(pos.fen(), pos.is_chess960(), &setupStates->back(), th);