diff plugins/SegmenterPlugin.cpp @ 42:0f85778f1b53

* some more fixes, + add chroma option to similarity plugin
author Chris Cannam <c.cannam@qmul.ac.uk>
date Mon, 14 Jan 2008 18:14:55 +0000
parents 77e394a5f3c9
children 5d7ce1d87301
line wrap: on
line diff
--- a/plugins/SegmenterPlugin.cpp	Fri Jan 11 18:18:45 2008 +0000
+++ b/plugins/SegmenterPlugin.cpp	Mon Jan 14 18:14:55 2008 +0000
@@ -152,7 +152,7 @@
 {
     if (param == "nSegmentTypes") {
 
-        nSegmentTypes = int(value);
+        nSegmentTypes = int(value + 0.0001);
 
     } else {