{
Threads.mutex.lock();
- int nodes = RootPos.nodes_searched();
+ int64_t nodes = RootPos.nodes_searched();
// Loop across all split points and sum accumulated SplitPoint nodes plus
// all the currently active positions nodes.
struct LimitsType {
LimitsType() { // Using memset on a std::vector is undefined behavior
- time[WHITE] = time[BLACK] = inc[WHITE] = inc[BLACK] = movestogo =
- depth = nodes = movetime = mate = infinite = ponder = 0;
+ nodes = time[WHITE] = time[BLACK] = inc[WHITE] = inc[BLACK] = movestogo =
+ depth = movetime = mate = infinite = ponder = 0;
}
bool use_time_management() const { return !(mate | movetime | depth | nodes | infinite); }
std::vector<Move> searchmoves;
- int time[COLOR_NB], inc[COLOR_NB], movestogo, depth, nodes, movetime, mate, infinite, ponder;
+ int time[COLOR_NB], inc[COLOR_NB], movestogo, depth, movetime, mate, infinite, ponder;
+ int64_t nodes;
};