X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Ftimeman.cpp;h=8282f2c629a384f1cbfd9fe21f937ad05605fc16;hp=b69169007e2ec15b0e353986d5ccd9b18ed5fa2a;hb=96213689e40c722b9d34edf9d58837c47f7b00e7;hpb=5c8af7ccb8f59f901740d5a8f4a9270f69487583 diff --git a/src/timeman.cpp b/src/timeman.cpp index b6916900..8282f2c6 100644 --- a/src/timeman.cpp +++ b/src/timeman.cpp @@ -79,12 +79,12 @@ namespace { void TimeManager::pv_instability(int curChanges, int prevChanges) { - unstablePVExtraTime = curChanges * (optimumSearchTime / 2) - + prevChanges * (optimumSearchTime / 3); + unstablePVExtraTime = curChanges * (optimumSearchTime / 2) + + prevChanges * (optimumSearchTime / 3); } -void TimeManager::init(const SearchLimits& limits, int currentPly) +void TimeManager::init(const Search::LimitsType& limits, int currentPly) { /* We support four different kind of time controls: