aboutsummaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2016-04-22 12:57:39 -0700
committerMartin Braun <martin.braun@ettus.com>2016-04-22 12:57:39 -0700
commit4a33820cbbc67e5cd60065843e319b4409441b5e (patch)
tree469080d1ae2fc51cb8fd09d6c0feead378d39f24 /host/include
parent3a835db75489aa11ff8bfc5080e1f2fe5dc101a0 (diff)
parent0feabd678fe3bde22e994649b9071bb05f4050d3 (diff)
downloaduhd-4a33820cbbc67e5cd60065843e319b4409441b5e.tar.gz
uhd-4a33820cbbc67e5cd60065843e319b4409441b5e.tar.bz2
uhd-4a33820cbbc67e5cd60065843e319b4409441b5e.zip
Merge branch 'maint'
Conflicts: fpga-src host/cmake/Modules/UHDVersion.cmake host/lib/usrp/b200/b200_impl.cpp
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/utils/fp_compare_delta.ipp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/include/uhd/utils/fp_compare_delta.ipp b/host/include/uhd/utils/fp_compare_delta.ipp
index 49cbc281b..292ef4bf6 100644
--- a/host/include/uhd/utils/fp_compare_delta.ipp
+++ b/host/include/uhd/utils/fp_compare_delta.ipp
@@ -27,7 +27,7 @@ namespace uhd { namespace math { namespace fp_compare {
template<typename float_t> UHD_INLINE
float_t fp_compare_select_delta(float_t lhs_delta, float_t rhs_delta) {
- return ((lhs_delta < rhs_delta) ? lhs_delta : rhs_delta);
+ return ((lhs_delta > rhs_delta) ? lhs_delta : rhs_delta);
}
template<> UHD_INLINE