]> git.sesse.net Git - stockfish/commit
Fix bestThread selection
authorJoost VandeVondele <Joost.VandeVondele@gmail.com>
Mon, 28 Nov 2022 19:59:38 +0000 (20:59 +0100)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Fri, 2 Dec 2022 19:06:59 +0000 (20:06 +0100)
commitd60f5de9670cc84ba7940b5815bc3e128da9423f
tree62607cd6f3221c7b9019ce2c4783eae9e53c4a1a
parentc7118fb46dc71d87d3f2c925b24e67184693da4f
Fix bestThread selection

If multiple threads have the same best move,
pick the thread with the largest contribution to the confidence vote.
This thread will later be used to display PV, so this patch is
about user-friendliness and/or least surprises, it non-functional for playing strenght.

closes https://github.com/official-stockfish/Stockfish/pull/4246

No functional change
src/thread.cpp