X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Ftimeman.h;h=3ee7b319787564d1c914220b9627247122276efe;hp=4896fe6e3bfadcb15701b4d20b26cbfeae8bd83d;hb=1ff5ce8863cb71f42dc0f707dd566e566c658eb5;hpb=e6482b7d97a6620cebdd569cce575d42ed80c871 diff --git a/src/timeman.h b/src/timeman.h index 4896fe6e..3ee7b319 100644 --- a/src/timeman.h +++ b/src/timeman.h @@ -21,12 +21,12 @@ #define TIMEMAN_H_INCLUDED /// The TimeManager class computes the optimal time to think depending on the -/// maximum available time, the move game number and other parameters. +/// maximum available time, the game move number and other parameters. class TimeManager { public: void init(const Search::LimitsType& limits, int currentPly, Color us); - void pv_instability(float bestMoveChanges); + void pv_instability(double bestMoveChanges); int available_time() const { return optimumSearchTime + unstablePVExtraTime; } int maximum_time() const { return maximumSearchTime; }