diff options
Diffstat (limited to 'gr-channels/lib/selective_fading_model_impl.cc')
-rw-r--r-- | gr-channels/lib/selective_fading_model_impl.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-channels/lib/selective_fading_model_impl.cc b/gr-channels/lib/selective_fading_model_impl.cc index da9b2c3787..91b0c8d328 100644 --- a/gr-channels/lib/selective_fading_model_impl.cc +++ b/gr-channels/lib/selective_fading_model_impl.cc @@ -31,8 +31,8 @@ selective_fading_model::sptr selective_fading_model::make(unsigned int N, std::vector<float> mags, int ntaps) { - return gnuradio::get_initial_sptr( - new selective_fading_model_impl(N, fDTs, LOS, K, seed, delays, mags, ntaps)); + return gnuradio::make_block_sptr<selective_fading_model_impl>( + N, fDTs, LOS, K, seed, delays, mags, ntaps); } // Block constructor |