Mercurial > hg > pyin
comparison MonoNoteHMM.cpp @ 145:0432723faf03
Fix compiler warnings (no point in returning const type)
author | Chris Cannam |
---|---|
date | Fri, 24 Mar 2017 15:35:32 +0000 |
parents | 83978b93aac1 |
children | 8404827a4b02 |
comparison
equal
deleted
inserted
replaced
144:9ec558ed83d4 | 145:0432723faf03 |
---|---|
26 par() | 26 par() |
27 { | 27 { |
28 build(); | 28 build(); |
29 } | 29 } |
30 | 30 |
31 const vector<double> | 31 vector<double> |
32 MonoNoteHMM::calculateObsProb(const vector<pair<double, double> > pitchProb) | 32 MonoNoteHMM::calculateObsProb(const vector<pair<double, double> > pitchProb) |
33 { | 33 { |
34 // pitchProb is a list of pairs (pitches and their probabilities) | 34 // pitchProb is a list of pairs (pitches and their probabilities) |
35 | 35 |
36 size_t nCandidate = pitchProb.size(); | 36 size_t nCandidate = pitchProb.size(); |