1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-29 16:23:09 +00:00

Fix previous patch in case of ponder

No functional change
This commit is contained in:
xoto10 2020-01-13 09:05:49 +00:00 committed by Stéphane Nicolet
parent 69204f0720
commit 01dfdb95dc

View file

@ -564,6 +564,7 @@ void Thread::search() {
Threads.stop = true;
}
else if ( Threads.increaseDepth
&& !mainThread->ponder
&& Time.elapsed() > Time.optimum() * fallingEval * reduction * bestMoveInstability * 0.6)
Threads.increaseDepth = false;
else