aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rtl_tcp/rtl_tcp_source_c.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rtl_tcp/rtl_tcp_source_c.cc')
-rw-r--r--lib/rtl_tcp/rtl_tcp_source_c.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rtl_tcp/rtl_tcp_source_c.cc b/lib/rtl_tcp/rtl_tcp_source_c.cc
index a365688..1b2c533 100644
--- a/lib/rtl_tcp/rtl_tcp_source_c.cc
+++ b/lib/rtl_tcp/rtl_tcp_source_c.cc
@@ -432,7 +432,7 @@ double rtl_tcp_source_c::set_if_gain(double gain, size_t chan)
sum += gains[ j + 1 ];
}
- double err = abs(gain - sum);
+ double err = std::abs(gain - sum);
if (err < error) {
error = err;
gains[ i + 1 ] = g;