diff --git a/src/search.cpp b/src/search.cpp index 8c5319b2..e44dd854 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -841,7 +841,7 @@ namespace { // If we are pondering or in infinite search, we shouldn't print the // best move before we are told to do so. - if (!AbortSearch && !ExactMaxTime && (PonderSearch || InfiniteSearch)) + if (!AbortSearch && (PonderSearch || InfiniteSearch)) wait_for_stop_or_ponderhit(); else // Print final search statistics diff --git a/src/uci.cpp b/src/uci.cpp index b3a7dc63..51eb15b6 100644 --- a/src/uci.cpp +++ b/src/uci.cpp @@ -299,9 +299,6 @@ namespace { } } - if (moveTime) - infinite = true; // HACK - assert(RootPosition.is_ok()); return think(RootPosition, infinite, ponder, RootPosition.side_to_move(),