Mercurial > hg > pyin
diff SparseHMM.h @ 156:3faac48d491d
Pass by (const) reference
author | Chris Cannam |
---|---|
date | Tue, 19 Nov 2019 11:52:58 +0000 |
parents | 8404827a4b02 |
children |
line wrap: on
line diff
--- a/SparseHMM.h Wed Sep 04 17:32:50 2019 +0100 +++ b/SparseHMM.h Tue Nov 19 11:52:58 2019 +0000 @@ -28,7 +28,7 @@ SparseHMM(int fixedLag); // set fixedLag == 0 when doing full Viterbi virtual std::vector<double> calculateObsProb - (const vector<pair<double, double> >) = 0; + (const vector<pair<double, double> > &) = 0; virtual void build(); std::vector<int> decodeViterbi(std::vector<vector<double> > obs);