# HG changeset patch # User Chris Cannam # Date 1158232809 0 # Node ID 40a47de695597045d204525e7cb0138c024bacee # Parent 48d19f278b152b66db091046a66a9e6ecd4879a5 ... diff -r 48d19f278b15 -r 40a47de69559 layer/SpectrogramLayer.cpp --- a/layer/SpectrogramLayer.cpp Wed Sep 13 17:16:22 2006 +0000 +++ b/layer/SpectrogramLayer.cpp Thu Sep 14 11:20:09 2006 +0000 @@ -1114,7 +1114,7 @@ float phaseError = princargf(newPhase - expectedPhase); - if (fabs(phaseError) < (1.1 * (windowIncrement * M_PI) / windowSize)) { + if (fabsf(phaseError) < (1.1f * (windowIncrement * M_PI) / windowSize)) { // The new frequency estimate based on the phase error // resulting from assuming the "native" frequency of this bin