The UCI specification states that an engine can never exit the search
while pondering.
No functional change.
Resolves #118
- if (Limits.use_time_management() && !Limits.ponder)
+ // An engine may not stop pondering until told so by the GUI
+ if (Limits.ponder)
+ return;
+
+ if (Limits.use_time_management())
{
bool stillAtFirstMove = Signals.firstRootMove
&& !Signals.failedLowAtRoot
{
bool stillAtFirstMove = Signals.firstRootMove
&& !Signals.failedLowAtRoot