diff options
author | Johnathan Corgan | 2012-01-25 16:35:59 -0800 |
---|---|---|
committer | Johnathan Corgan | 2012-01-25 16:35:59 -0800 |
commit | 8ddd8fbb0d780072081215db432aaf59d4a46dda (patch) | |
tree | bc61f75a6b96c09038343ce7243964642abf3175 /gnuradio-core/src/lib | |
parent | 3901b0b7025a66ae04748e65b2bdd59e59e574df (diff) | |
parent | f122d72a1090d38d1a08f98c56e0d071f79fef0b (diff) | |
download | gnuradio-8ddd8fbb0d780072081215db432aaf59d4a46dda.tar.gz gnuradio-8ddd8fbb0d780072081215db432aaf59d4a46dda.tar.bz2 gnuradio-8ddd8fbb0d780072081215db432aaf59d4a46dda.zip |
Merge branch 'maint'
Diffstat (limited to 'gnuradio-core/src/lib')
-rw-r--r-- | gnuradio-core/src/lib/general/gr_fft_vcc_fftw.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnuradio-core/src/lib/general/gr_fft_vcc_fftw.cc b/gnuradio-core/src/lib/general/gr_fft_vcc_fftw.cc index c66015c11..948ab20b9 100644 --- a/gnuradio-core/src/lib/general/gr_fft_vcc_fftw.cc +++ b/gnuradio-core/src/lib/general/gr_fft_vcc_fftw.cc @@ -68,7 +68,7 @@ gr_fft_vcc_fftw::work (int noutput_items, if (d_window.size()){ gr_complex *dst = d_fft->get_inbuf(); if(!d_forward && d_shift){ - int offset = (!d_forward && d_shift)?floor(d_fft_size/2):0; + int offset = (!d_forward && d_shift)?(d_fft_size/2):0; int fft_m_offset = d_fft_size - offset; for (unsigned int i = 0; i < offset; i++) // apply window dst[i+fft_m_offset] = in[i] * d_window[i]; |