diff options
author | Alick Zhao | 2012-11-02 09:34:39 -0700 |
---|---|---|
committer | Johnathan Corgan | 2012-11-02 09:37:42 -0700 |
commit | c5436ca8ddab5fa77a585c8f00743bb85a93c59a (patch) | |
tree | 7e6916f6bf33374d8384611aeaf074c0c3afef18 /gnuradio-core/src/lib/hier | |
parent | 984a42a48f6872a4bdeb599786bf73097f4c0c68 (diff) | |
download | gnuradio-c5436ca8ddab5fa77a585c8f00743bb85a93c59a.tar.gz gnuradio-c5436ca8ddab5fa77a585c8f00743bb85a93c59a.tar.bz2 gnuradio-c5436ca8ddab5fa77a585c8f00743bb85a93c59a.zip |
Fixes other uses of channel model to always have negative or zero
seed for noise source, matching the documentation update in 0d6871b3.
Diffstat (limited to 'gnuradio-core/src/lib/hier')
-rw-r--r-- | gnuradio-core/src/lib/hier/gr_channel_model.h | 2 | ||||
-rw-r--r-- | gnuradio-core/src/lib/hier/gr_channel_model.i | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gnuradio-core/src/lib/hier/gr_channel_model.h b/gnuradio-core/src/lib/hier/gr_channel_model.h index 3f289e320..f0b31b1a6 100644 --- a/gnuradio-core/src/lib/hier/gr_channel_model.h +++ b/gnuradio-core/src/lib/hier/gr_channel_model.h @@ -36,7 +36,7 @@ GR_CORE_API gr_channel_model_sptr gr_make_channel_model(double noise_voltage=0.0 double frequency_offset=0.0, double epsilon=1.0, const std::vector<gr_complex> &taps=std::vector<gr_complex>(1, 1), - double noise_seed=3021); + double noise_seed=0); /*! * \brief channel simulator diff --git a/gnuradio-core/src/lib/hier/gr_channel_model.i b/gnuradio-core/src/lib/hier/gr_channel_model.i index 24a9388e5..9aa6ebf5b 100644 --- a/gnuradio-core/src/lib/hier/gr_channel_model.i +++ b/gnuradio-core/src/lib/hier/gr_channel_model.i @@ -26,7 +26,7 @@ gr_channel_model_sptr gr_make_channel_model(double noise_voltage=0.0, double frequency_offset=0.0, double epsilon=1.0, const std::vector<gr_complex> &taps=std::vector<gr_complex>(1, 1), - double noise_seed=3021); + double noise_seed=0); class gr_channel_model : public gr_hier_block2 { |