aboutsummaryrefslogtreecommitdiffstats
path: root/host/include/uhd/utils/math.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/include/uhd/utils/math.hpp')
-rw-r--r--host/include/uhd/utils/math.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/include/uhd/utils/math.hpp b/host/include/uhd/utils/math.hpp
index 21825c3dc..e6ac4d3dc 100644
--- a/host/include/uhd/utils/math.hpp
+++ b/host/include/uhd/utils/math.hpp
@@ -60,7 +60,7 @@ namespace math {
* values, a custom epsilon should be defined for those computations. This
* use-case is provided for in the `fp_compare_epsilon` class constructor.
*/
- static const float SINGLE_PRECISION_EPSILON = 1.19e-7;
+ static const float SINGLE_PRECISION_EPSILON = 1.19e-7f;
static const double DOUBLE_PRECISION_EPSILON = 2.22e-16;
namespace fp_compare {