mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 20:15:35 +08:00
Fix float to double conversion
This commit is contained in:
@@ -198,7 +198,7 @@ namespace BlackMisc
|
||||
template <int Subfactor>
|
||||
struct InEachHundred
|
||||
{
|
||||
static double fraction() { return 100.0f; } //!< fraction
|
||||
static double fraction() { return 100.0; } //!< fraction
|
||||
static double subfactor() { return float(Subfactor); } //!< subfactor
|
||||
};
|
||||
//! @}
|
||||
|
||||
Reference in New Issue
Block a user