X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=b34d4ae7c108abfb2040a1dac2eb2da8bff632e1;hp=0f27564a1053513b392b117a34303abe88db3a12;hb=41cc4eb953b2574ea8858c6d52f09fb1574179c8;hpb=b5581b7779b6e286fa2277625572996477d74b10 diff --git a/src/search.cpp b/src/search.cpp index 0f27564a..b34d4ae7 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -258,7 +258,7 @@ void MainThread::search() { // Vote according to score and depth for (Thread* th : Threads) - votes[th->rootMoves[0].pv[0]] += int(th->rootMoves[0].score - minScore) + votes[th->rootMoves[0].pv[0]] += int(th->rootMoves[0].score - minScore) + int(th->completedDepth); // Select best thread