- int remaining(int myTime, int movesToGo, int ply, int slowMover)
- {
- const double TMaxRatio = (T == OptimumTime ? 1 : MaxRatio);
- const double TStealRatio = (T == OptimumTime ? 0 : StealRatio);
+ int remaining(int myTime, int movesToGo, int ply, int slowMover) {
+
+ constexpr double TMaxRatio = (T == OptimumTime ? 1 : MaxRatio);
+ constexpr double TStealRatio = (T == OptimumTime ? 0 : StealRatio);