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