summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/lib
diff options
context:
space:
mode:
authorTom Rondeau2012-02-01 17:20:29 -0500
committerTom Rondeau2012-02-01 17:20:29 -0500
commit00518cacb2620a18f3d473b8b7adcc21547034e6 (patch)
tree99cafa44317fc30f6524f4f1678fe94fffe06492 /gnuradio-core/src/lib
parentba6fee9bc18efd2f84547f653de986bdf485472c (diff)
parent29aa72d4499361e661886dbfe7833bcc2c6f3746 (diff)
downloadgnuradio-00518cacb2620a18f3d473b8b7adcc21547034e6.tar.gz
gnuradio-00518cacb2620a18f3d473b8b7adcc21547034e6.tar.bz2
gnuradio-00518cacb2620a18f3d473b8b7adcc21547034e6.zip
Merge branch 'master' of gnuradio.org:gnuradio
Diffstat (limited to 'gnuradio-core/src/lib')
-rw-r--r--gnuradio-core/src/lib/general/gr_fft_vcc_fftw.cc2
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];