aboutsummaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2015-03-11 16:14:00 -0700
committerMartin Braun <martin.braun@ettus.com>2015-03-11 16:58:09 -0700
commitfae746179cbb1d8ac146dcae9b5d6cb58b366a56 (patch)
treef3b7db3841f84ded03e97b7020cb0616294b4579 /host/include
parenteed305afee7c5c34a48efd75dfb49ba20072f518 (diff)
downloaduhd-fae746179cbb1d8ac146dcae9b5d6cb58b366a56.tar.gz
uhd-fae746179cbb1d8ac146dcae9b5d6cb58b366a56.tar.bz2
uhd-fae746179cbb1d8ac146dcae9b5d6cb58b366a56.zip
uhd: Fixed multiple compiler warnings (unused variables, missing literal f)
Diffstat (limited to 'host/include')
-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 {