diff options
Diffstat (limited to 'gr-analog/lib/fastnoise_source_X_impl.cc.t')
-rw-r--r-- | gr-analog/lib/fastnoise_source_X_impl.cc.t | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gr-analog/lib/fastnoise_source_X_impl.cc.t b/gr-analog/lib/fastnoise_source_X_impl.cc.t index 1ec108ba0d..c25230dc6a 100644 --- a/gr-analog/lib/fastnoise_source_X_impl.cc.t +++ b/gr-analog/lib/fastnoise_source_X_impl.cc.t @@ -32,7 +32,7 @@ namespace gr { namespace analog { - + @BASE_NAME@::sptr @BASE_NAME@::make(noise_type_t type, float ampl, long seed, long samples) { @@ -63,9 +63,9 @@ namespace gr { d_type = type; generate(); } - + void - @IMPL_NAME@::set_amplitude(float ampl) + @IMPL_NAME@::set_amplitude(float ampl) { gr::thread::scoped_lock l(d_setlock); d_ampl = ampl; @@ -154,7 +154,7 @@ namespace gr { @TYPE@ @IMPL_NAME@::sample_unbiased() { -#if @IS_COMPLEX@ +#if @IS_COMPLEX@ gr_complex s(sample()); return gr_complex(FASTNOISE_RANDOM_SIGN * s.real(), FASTNOISE_RANDOM_SIGN * s.imag()); |