X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=c7eb5f9a70f19d200f3cc291ea9fdd0fa852577b;hp=144776aac160bcc411bdc86a50592e98aa537abd;hb=8b8885ab07a99810140080da6ee586bae3daa2fa;hpb=a903ed07e02780aec98f97461329acb78d7242c8 diff --git a/src/search.cpp b/src/search.cpp index 144776aa..c7eb5f9a 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -163,7 +163,7 @@ uint64_t Search::perft(Position& pos, Depth depth) { for (MoveList it(pos); *it; ++it) { if (Root && depth <= ONE_PLY) - cnt = 1; + cnt = 1, nodes++; else { pos.do_move(*it, st, ci, pos.gives_check(*it, ci));