# HG changeset patch # User cannam # Date 1255622953 0 # Node ID a5eae96a357c2afa1ebb19fd6b3d9e7192919a2e # Parent 054c384d860d1c99c79e5e0b5c672f5613dc8f59 * Fix idiotic bug that causes onset detector not to work as well as it did diff -r 054c384d860d -r a5eae96a357c dsp/signalconditioning/DFProcess.cpp --- 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;