Mercurial > hg > qm-vamp-plugins
diff plugins/DWT.cpp @ 130:c655fa61884f
* Solaris build fixes
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Mon, 14 Sep 2009 13:01:57 +0000 |
parents | 1a24b134cd79 |
children | dcf5800f0f00 |
line wrap: on
line diff
--- a/plugins/DWT.cpp Fri Jul 03 13:08:12 2009 +0000 +++ b/plugins/DWT.cpp Mon Sep 14 13:01:57 2009 +0000 @@ -325,7 +325,7 @@ feature.hasTimestamp = false; for (int j = 0; j < s; j++) { - outloc = floor(m / (1 << j)); // This one pushes a single result bin + outloc = m / (1 << j); // This one pushes a single result bin // onto the top of a feature column feature.values.push_back(wCoefficients[j][outloc]); // each coefficient on higher scales need } // to be copied multiple times to feature columns @@ -430,7 +430,7 @@ feature.hasTimestamp = false; for (int j = 0; j < s; j++) { - outloc = floor(m / (1 << j)); // This one pushes a single result bin + outloc = m / (1 << j); // This one pushes a single result bin // onto the top of a feature column feature.values.push_back(wCoefficients[j][outloc]); // each coefficient on higher scales need } // to be copied multiple times to feature columns