Skip to content

Commit

Permalink
bench: 1714391
Browse files Browse the repository at this point in the history
bench: 1714391
  • Loading branch information
FauziAkram authored Mar 9, 2024
1 parent 632f1c2 commit ee1cff9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -463,11 +463,8 @@ void Search::Worker::iterative_deepening() {
else
threads.stop = true;
}
else if (!mainThread->ponder
&& mainThread->tm.elapsed(threads.nodes_searched()) > totalTime * 0.506)
threads.increaseDepth = false;
else
threads.increaseDepth = true;
threads.increaseDepth = mainThread->ponder || mainThread->tm.elapsed(threads.nodes_searched()) <= totalTime * 0.506;
}

mainThread->iterValue[iterIdx] = bestValue;
Expand Down

0 comments on commit ee1cff9

Please sign in to comment.