Fix previous patch in case of ponder
authorxoto10 <buylow001@gmail.com>
Mon, 13 Jan 2020 09:05:49 +0000 (09:05 +0000)
committerStéphane Nicolet <cassio@free.fr>
Mon, 13 Jan 2020 09:47:14 +0000 (10:47 +0100)
No functional change

src/search.cpp

index ec9c6b1..7804119 100644 (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