diff --git a/srsenb/src/phy/phy.cc b/srsenb/src/phy/phy.cc index c0d0a73c9..87cd1a994 100644 --- a/srsenb/src/phy/phy.cc +++ b/srsenb/src/phy/phy.cc @@ -91,7 +91,7 @@ bool phy::init(phy_args_t *args, { std::vector log_vec; for (int i=0;inof_phy_threads;i++) { - log_vec[i] = (void*) log_h; + log_vec.push_back((void*)log_h); } init(args, cfg, radio_handler_, mac, log_vec); return true;