spek

Acoustic spectrum analyser
git clone http://git.hanabi.in/repos/spek.git
Log | Files | Refs | README

commit d933d865b8df59073bf5ecbdc875b6cf51401f6f
parent d0ab6fed36e3954d5b1317f40cbb0f9914f8d6d8
Author: Alexander Kojevnikov <alexander@kojevnikov.com>
Date:   Mon, 25 May 2015 20:32:21 -0700

Fix a warning

Diffstat:
Msrc/spek-fft.h | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/spek-fft.h b/src/spek-fft.h @@ -35,7 +35,7 @@ class FFTPlan { public: FFTPlan(int nbits) : - nbits(nbits), input_size(1 << nbits), output_size((1 << (nbits - 1)) + 1), + input_size(1 << nbits), output_size((1 << (nbits - 1)) + 1), input(input_size), output(output_size) {} virtual ~FFTPlan() {} @@ -52,7 +52,6 @@ protected: float *get_input() { return this->input.data(); } private: - int nbits; int input_size; int output_size; std::vector<float> input;