No need to heat up CPU in this case ;-)
No functional change.
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
<< " nps " << nps(pos)
<< " time " << current_search_time() << endl;
<< " nps " << nps(pos)
<< " time " << current_search_time() << endl;
- // If we are pondering or in infinite search, we shouldn't print the
- // best move before we are told to do so.
- if (!AbortSearch && (PonderSearch || InfiniteSearch))
- wait_for_stop_or_ponderhit();
-
- // Could be both MOVE_NONE when searching on a stalemate position
- cout << "bestmove " << bestMove << " ponder " << ponderMove << endl;
-
if (UseLogFile)
{
if (dbg_show_mean)
if (UseLogFile)
{
if (dbg_show_mean)
// This makes all the threads to go to sleep
ThreadsMgr.set_active_threads(1);
// This makes all the threads to go to sleep
ThreadsMgr.set_active_threads(1);
+ // If we are pondering or in infinite search, we shouldn't print the
+ // best move before we are told to do so.
+ if (!AbortSearch && (PonderSearch || InfiniteSearch))
+ wait_for_stop_or_ponderhit();
+
+ // Could be both MOVE_NONE when searching on a stalemate position
+ cout << "bestmove " << bestMove << " ponder " << ponderMove << endl;
+