Permalink
Browse files

LTC and rebase for mstembera: Different voting tweak. Bench: 3559104

  • Loading branch information...
miguel-l committed Jan 6, 2019
1 parent bb843a0 commit ce17d695f22ccfe8d228d176620995e69d49ef5e
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/search.cpp
@@ -267,7 +267,7 @@ void MainThread::search() {
// Vote according to score and depth
auto square = [](int64_t x) { return x * x; };
for (Thread* th : Threads)
votes[th->rootMoves[0].pv[0]] += 200 + (square(th->rootMoves[0].score - minScore + 1)
votes[th->rootMoves[0].pv[0]] += 200 + (square(th->rootMoves[0].score - minScore + 10)
* int64_t(th->completedDepth));

// Select best thread

0 comments on commit ce17d69

Please sign in to comment.