Mercurial > hg > match-vamp
diff test/TestFeatureExtractor.cpp @ 165:31602361fb65 refactors
Build stuff
author | Chris Cannam |
---|---|
date | Fri, 30 Jan 2015 14:54:18 +0000 |
parents | 8e240bbea845 |
children | d1bc89794cd4 |
line wrap: on
line diff
--- a/test/TestFeatureExtractor.cpp Fri Jan 30 12:57:29 2015 +0000 +++ b/test/TestFeatureExtractor.cpp Fri Jan 30 14:54:18 2015 +0000 @@ -14,7 +14,7 @@ static int freq2mid(double freq) { - return round(57.0 + 12.0 * log(freq / 220.) / log(2.)); + return int(round(57.0 + 12.0 * log(freq / 220.) / log(2.))); } static int freq2chroma(double freq)