# HG changeset patch # User Chris Cannam # Date 1396683715 -3600 # Node ID 2b254fc68e81d991e37779e50c01ab194d1a084d # Parent 5164bccf3064368b972cfe87340b00fccc1da375 Fix typo in pitch activation output diff -r 5164bccf3064 -r 2b254fc68e81 src/Silvet.cpp --- 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 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);