diff options
author | Nicholas Corgan <nick.corgan@ettus.com> | 2014-12-22 09:21:58 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2015-01-07 17:15:49 +0100 |
commit | 2d3f3c6c0fde4eb8d4f9b19a1e15f253d361c38d (patch) | |
tree | f076cb36c0d14fff2116934e8fe0985ae4dc47f9 /host/include | |
parent | b9b4b942b4715793f751eb2c1ece81bcd924fd89 (diff) | |
download | uhd-2d3f3c6c0fde4eb8d4f9b19a1e15f253d361c38d.tar.gz uhd-2d3f3c6c0fde4eb8d4f9b19a1e15f253d361c38d.tar.bz2 uhd-2d3f3c6c0fde4eb8d4f9b19a1e15f253d361c38d.zip |
math: fixed MSVC error regarding ambiguous std::log call
Diffstat (limited to 'host/include')
-rw-r--r-- | host/include/uhd/utils/math.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/include/uhd/utils/math.hpp b/host/include/uhd/utils/math.hpp index a41a35d67..275a94f72 100644 --- a/host/include/uhd/utils/math.hpp +++ b/host/include/uhd/utils/math.hpp @@ -243,7 +243,7 @@ namespace fp_compare { { // C++11 defines std::log2(), when that's universally supported // we can switch over. - return std::log(x) / std::log(2); + return std::log(x) / std::log(float_t(2)); } |