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 e6ac4d3dc..4f88494d6 100644
--- a/host/include/uhd/utils/math.hpp
+++ b/host/include/uhd/utils/math.hpp
@@ -155,7 +155,7 @@ namespace fp_compare {
* These are the default deltas used by the 'fp_compare_delta' class for
* single and double-precision floating point comparisons.
*/
- static const float SINGLE_PRECISION_DELTA = 1e-3;
+ static const float SINGLE_PRECISION_DELTA = 1e-3f;
static const double DOUBLE_PRECISION_DELTA = 1e-5;
/*! Floating-point delta to use for frequency comparisons. */