aboutsummaryrefslogtreecommitdiffstats
path: root/host/utils/latency/lib
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2014-10-15 09:46:03 +0200
committerMartin Braun <martin.braun@ettus.com>2014-10-15 09:46:03 +0200
commit6bb5e64775903de355b381c432f27756e5a883d6 (patch)
treea035b721f8e9448322ed73f6d8f23a7744cc6825 /host/utils/latency/lib
parent4b731b9b10a9dc78c203f8487641243b21088ca6 (diff)
downloaduhd-6bb5e64775903de355b381c432f27756e5a883d6.tar.gz
uhd-6bb5e64775903de355b381c432f27756e5a883d6.tar.bz2
uhd-6bb5e64775903de355b381c432f27756e5a883d6.zip
utils: Removed compiler warning in latency test
Diffstat (limited to 'host/utils/latency/lib')
-rw-r--r--host/utils/latency/lib/Responder.cpp2
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;