Skip to content

Commit

Permalink
build warning, update freq_end_
Browse files Browse the repository at this point in the history
  • Loading branch information
anarkiwi committed Sep 17, 2024
1 parent 180682f commit fc4c6de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/iq_inference_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@
#include "base_impl.h"
#include "torchserve_client.h"
#include <boost/asio/io_service.hpp>
#include <boost/bind.hpp>
#include <boost/bind/bind.hpp>
#include <boost/lockfree/policies.hpp>
#include <boost/lockfree/queue.hpp>
#include <boost/scoped_array.hpp>
Expand Down
1 change: 1 addition & 0 deletions lib/retuner_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit fc4c6de

Please sign in to comment.