X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=e57131eb7bf0330eba5ab434c24fdbe36344d538;hp=f021f8ff5eb183517a9391bd6cff6faee74d571c;hb=66820a2668a7892a0eb49bedc0ed2c3b4baa74a7;hpb=9c7dc057d160d7f3c41553173f958f2cc7b5d98c diff --git a/src/search.cpp b/src/search.cpp index f021f8ff..e57131eb 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -241,10 +241,8 @@ void MainThread::search() { // Vote according to score and depth for (Thread* th : Threads) - { - int64_t s = th->rootMoves[0].score - minScore + 1; - votes[th->rootMoves[0].pv[0]] += 200 + s * s * int(th->completedDepth); - } + votes[th->rootMoves[0].pv[0]] += + (th->rootMoves[0].score - minScore + 14) * int(th->completedDepth); // Select best thread auto bestVote = votes[this->rootMoves[0].pv[0]];