Fix float to double conversion

This commit is contained in:
Roland Winklmeier
2018-08-24 14:05:06 +02:00
parent 5cc8249b38
commit 08e06c6ed1

View File

@@ -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
}; };
//! @} //! @}