Mercurial > hg > constant-q-cpp
changeset 87:96a4c8d32995
Fix compiler warning
| author | Chris Cannam <c.cannam@qmul.ac.uk> |
|---|---|
| date | Thu, 08 May 2014 09:35:10 +0100 |
| parents | 7664a93c06da |
| children | c3e1a08c97f0 790832f18419 |
| files | cpp-qm-dsp/ConstantQ.cpp |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/cpp-qm-dsp/ConstantQ.cpp Wed Apr 30 15:06:30 2014 +0100 +++ b/cpp-qm-dsp/ConstantQ.cpp Thu May 08 09:35:10 2014 +0100 @@ -264,7 +264,7 @@ (j * ((totalColumns / blocksThisOctave) / m_p.atomsPerFrame))); - while (out[target].size() < + while (int(out[target].size()) < m_p.binsPerOctave * (octave + 1)) { out[target].push_back(0.0); }
