diff --git a/src/timeman.cpp b/src/timeman.cpp index 72a447af..e620dede 100644 --- a/src/timeman.cpp +++ b/src/timeman.cpp @@ -94,7 +94,7 @@ void TimeManagement::init(Search::LimitsType& limits, if (limits.movestogo == 0) { // Use extra time with larger increments - double optExtra = std::clamp(1.0 + 12.5 * limits.inc[us] / limits.time[us], 1.0, 1.11); + double optExtra = limits.inc[us] < 500 ? 1.0 : 1.1; // Calculate time constants based on current time left. double optConstant =