diff --git a/lib/iq_inference_impl.h b/lib/iq_inference_impl.h index c18c00c6..097fd741 100644 --- a/lib/iq_inference_impl.h +++ b/lib/iq_inference_impl.h @@ -208,7 +208,7 @@ #include "base_impl.h" #include "torchserve_client.h" #include -#include +#include #include #include #include diff --git a/lib/retuner_impl.cc b/lib/retuner_impl.cc index f4be9b29..e3f787b8 100644 --- a/lib/retuner_impl.cc +++ b/lib/retuner_impl.cc @@ -239,6 +239,7 @@ void retuner_impl::add_range_(COUNT_T freq_start, COUNT_T freq_end) { // in random order each time, to implement a frequency hopping scanner. if (freq_end == 0) { freq_end = freq_start + tune_step_hz_; + freq_end_ = freq_end; tuning_ranges_.push_back({freq_start, freq_end, 1}); } else { COUNT_T steps = (freq_end - freq_start) / tune_step_hz_ + 1;