From ea185b2e2522be5abccf992e993dbf905194f33b Mon Sep 17 00:00:00 2001 From: eb Date: Thu, 8 May 2008 03:57:12 +0000 Subject: avoid possible log2 confusion git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8317 221aa14e-8319-0410-a670-987f0aec2ac5 --- gr-gcell/src/gcell_fft_vcc.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gr-gcell') diff --git a/gr-gcell/src/gcell_fft_vcc.cc b/gr-gcell/src/gcell_fft_vcc.cc index 0491db9ab..b53f0c330 100644 --- a/gr-gcell/src/gcell_fft_vcc.cc +++ b/gr-gcell/src/gcell_fft_vcc.cc @@ -45,7 +45,7 @@ is_power_of_2(int x) } static int -log2(int x) // x is an exact power of 2 +int_log2(int x) // x is an exact power of 2 { for (int i = 0; i < 32; i++) if (x == (1 << i)) @@ -88,7 +88,7 @@ gcell_fft_vcc::gcell_fft_vcc (int fft_size, bool forward, throw std::invalid_argument("fft_size too big to use window"); } - d_log2_fft_size = log2(fft_size); + d_log2_fft_size = int_log2(fft_size); d_mgr = gc_job_manager::singleton(); // grab the singleton job manager d_twiddle_boost = gc_aligned_alloc_sptr(sizeof(std::complex) * fft_size/4, 128); d_twiddle = (std::complex*) d_twiddle_boost.get(); -- cgit