diff options
author | Martin Braun <martin.braun@ettus.com> | 2019-07-18 19:11:48 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2019-07-20 14:41:00 -0700 |
commit | 7ecb72180728756efda3566a8a7b25e36c690ee7 (patch) | |
tree | 1a69d12acdd530da62a5eef789dc962742b65c3c /host/utils/converter_benchmark.cpp | |
parent | 3e4ee0758141c405d6c744e077b7d204662914ed (diff) | |
download | uhd-7ecb72180728756efda3566a8a7b25e36c690ee7.tar.gz uhd-7ecb72180728756efda3566a8a7b25e36c690ee7.tar.bz2 uhd-7ecb72180728756efda3566a8a7b25e36c690ee7.zip |
utils: converter_benchmark: Fix scaling for sc16->fc32
Diffstat (limited to 'host/utils/converter_benchmark.cpp')
-rw-r--r-- | host/utils/converter_benchmark.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/utils/converter_benchmark.cpp b/host/utils/converter_benchmark.cpp index 07aec9170..d00255d0c 100644 --- a/host/utils/converter_benchmark.cpp +++ b/host/utils/converter_benchmark.cpp @@ -46,8 +46,8 @@ void configure_conv( { if (in_type == "sc16") { if (out_type == "fc32") { - std::cout << "Setting scalar to 32767." << std::endl; - conv->set_scalar(32767.); + std::cout << "Setting scalar to 1./32767." << std::endl; + conv->set_scalar(1./32767.); return; } } |