Mercurial > hg > qm-dsp
changeset 305:77687f235dc7
* Fix idiotic bug that causes onset detector not to work as well as it did
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Thu, 15 Oct 2009 16:09:13 +0000 |
parents | 702ff8c08137 |
children | 9428a8a1242b |
files | dsp/signalconditioning/DFProcess.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/dsp/signalconditioning/DFProcess.cpp Mon Sep 14 13:01:44 2009 +0000 +++ b/dsp/signalconditioning/DFProcess.cpp Thu Oct 15 16:09:13 2009 +0000 @@ -92,7 +92,7 @@ double* scratch = new double[ m_length ]; - for( i = 0; i < m_winPre && index; i++) + for( i = 0; i < m_winPre; i++) { if (index >= m_length) break;