diff options
author | Martin Braun <martin.braun@ettus.com> | 2014-10-15 09:46:03 +0200 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2014-10-15 09:46:03 +0200 |
commit | 6bb5e64775903de355b381c432f27756e5a883d6 (patch) | |
tree | a035b721f8e9448322ed73f6d8f23a7744cc6825 /host/utils/latency | |
parent | 4b731b9b10a9dc78c203f8487641243b21088ca6 (diff) | |
download | uhd-6bb5e64775903de355b381c432f27756e5a883d6.tar.gz uhd-6bb5e64775903de355b381c432f27756e5a883d6.tar.bz2 uhd-6bb5e64775903de355b381c432f27756e5a883d6.zip |
utils: Removed compiler warning in latency test
Diffstat (limited to 'host/utils/latency')
-rw-r--r-- | host/utils/latency/lib/Responder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/utils/latency/lib/Responder.cpp b/host/utils/latency/lib/Responder.cpp index d265e9dcb..150e0e4cd 100644 --- a/host/utils/latency/lib/Responder.cpp +++ b/host/utils/latency/lib/Responder.cpp @@ -501,7 +501,7 @@ Responder::print_formatted_delay_line(const uint64_t simulate_duration, const ui if(_y_delay_pos < 0 || _x_delay_pos < 0){ // make sure it gets printed to the same position everytime getyx(_window, _y_delay_pos, _x_delay_pos); } - double score = 0.0d; + double score = 0.0; if (statsPrev.detected > 0) score = 100.0 * (double)(statsPrev.detected - statsPrev.missed) / (double)statsPrev.detected; std::string form; |