]> git.sesse.net Git - stockfish/blobdiff - src/timeman.cpp
Adjust timeman constants
[stockfish] / src / timeman.cpp
index 0400401e77950302e01fdb3778d0ee21cc8a6101..cab0d7671a2e7503c47b2d080a00db98838c5c22 100644 (file)
@@ -80,7 +80,7 @@ void TimeManagement::init(Search::LimitsType& limits, Color us, int ply) {
   // game time for the current move, so also cap to 20% of available game time.
   if (limits.movestogo == 0)
   {
-      optScale = std::min(0.0084 + std::pow(ply + 3.0, 0.5) * 0.0042,
+      optScale = std::min(0.0120 + std::pow(ply + 3.0, 0.45) * 0.0039,
                            0.2 * limits.time[us] / double(timeLeft))
                  * optExtra;
       maxScale = std::min(7.0, 4.0 + ply / 12.0);