mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-22 10:06:26 +08:00
Fix a missing assignment in previous commit
While reformatting the patch, I got wrong a statement and converted it badly.
This commit is contained in:
@@ -468,8 +468,10 @@ void Thread::search() {
|
||||
|
||||
// Use part of the gained time from a previous stable move for the current move
|
||||
for (Thread* th : Threads)
|
||||
{
|
||||
totBestMoveChanges += th->bestMoveChanges;
|
||||
|
||||
th->bestMoveChanges = 0;
|
||||
}
|
||||
double bestMoveInstability = 1 + totBestMoveChanges / Threads.size();
|
||||
|
||||
// Stop the search if we have only one legal move, or if available time elapsed
|
||||
|
||||
Reference in New Issue
Block a user