diff options
Diffstat (limited to 'host/utils/latency/lib/Responder.cpp')
-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 8cb1170db..5597c0fcd 100644 --- a/host/utils/latency/lib/Responder.cpp +++ b/host/utils/latency/lib/Responder.cpp @@ -855,7 +855,7 @@ Responder::calibrate_usrp_for_test_run() _stream_cmd.stream_now = true; _usrp->issue_stream_cmd(_stream_cmd); - double diff = abs(ave_high - ave_low); + double diff = std::abs(ave_high - ave_low); if (diff < _opt.pulse_detection_threshold) { _return_code = RETCODE_BAD_ARGS; |