mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 17:16:33 +08:00
Fix previous patch in case of ponder
No functional change
This commit is contained in:
committed by
Stéphane Nicolet
parent
69204f0720
commit
01dfdb95dc
@@ -564,6 +564,7 @@ void Thread::search() {
|
|||||||
Threads.stop = true;
|
Threads.stop = true;
|
||||||
}
|
}
|
||||||
else if ( Threads.increaseDepth
|
else if ( Threads.increaseDepth
|
||||||
|
&& !mainThread->ponder
|
||||||
&& Time.elapsed() > Time.optimum() * fallingEval * reduction * bestMoveInstability * 0.6)
|
&& Time.elapsed() > Time.optimum() * fallingEval * reduction * bestMoveInstability * 0.6)
|
||||||
Threads.increaseDepth = false;
|
Threads.increaseDepth = false;
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user