changeset 39:2b254fc68e81

Fix typo in pitch activation output
author Chris Cannam
date Sat, 05 Apr 2014 08:41:55 +0100
parents 5164bccf3064
children 303c06efa8d2
files src/Silvet.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/Silvet.cpp	Fri Apr 04 19:05:47 2014 +0100
+++ b/src/Silvet.cpp	Sat Apr 05 08:41:55 2014 +0100
@@ -349,7 +349,7 @@
         vector<double> pitches = em.getPitchDistribution();
         Feature f;
         for (int j = 0; j < (int)pitches.size(); ++j) {
-            f.values.push_back(float(pitches[i]));
+            f.values.push_back(float(pitches[j]));
         }
         fs[m_pitchOutputNo].push_back(f);