mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 17:16:33 +08:00
Fix Intel compiler warnings
Fallout from previous patch: Intel compiler is very noisy. No functional change.
This commit is contained in:
@@ -63,7 +63,7 @@ namespace {
|
||||
double ratio1 = (TMaxRatio * thisMoveImportance) / (TMaxRatio * thisMoveImportance + otherMovesImportance);
|
||||
double ratio2 = (thisMoveImportance + TStealRatio * otherMovesImportance) / (thisMoveImportance + otherMovesImportance);
|
||||
|
||||
return floor(myTime * std::min(ratio1, ratio2));
|
||||
return int(floor(myTime * std::min(ratio1, ratio2)));
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
||||
Reference in New Issue
Block a user