Mercurial > hg > qm-dsp
changeset 497:0d3a001e63c7
Another range fix... sigh
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Mon, 03 Jun 2019 11:45:49 +0100 |
parents | 97008bc9420f |
children | 8b92623e81c9 |
files | dsp/chromagram/ConstantQ.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/dsp/chromagram/ConstantQ.cpp Mon Jun 03 10:54:56 2019 +0100 +++ b/dsp/chromagram/ConstantQ.cpp Mon Jun 03 11:45:49 2019 +0100 @@ -52,7 +52,7 @@ FFT fft(m_FFTLength); - for (int j = m_uK; j >= 0; --j) { + for (int j = m_uK - 1; j >= 0; --j) { for (int i = 0; i < m_FFTLength; ++i) { windowRe[i] = 0;