diff dsp/signalconditioning/DFProcess.cpp @ 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 5f2c9119a94a
children e5907ae6de17
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;