diff options
author | Tetsuo Kiso <tetsuo-s@is.naist.jp> | 2011-11-12 05:40:54 +0400 |
---|---|---|
committer | Tetsuo Kiso <tetsuo-s@is.naist.jp> | 2011-11-12 05:40:54 +0400 |
commit | 00b8c6d76895fb90ef4c8679f9337dafe9633019 (patch) | |
tree | 552e859979594c1f5a10a4b0bbf217d753656f4f /mert/CderScorer.cpp | |
parent | 1ec58e7edf3ee39eddc427a3498b28e0f0577db4 (diff) |
Use const Scorer::calculateScore().
Diffstat (limited to 'mert/CderScorer.cpp')
-rw-r--r-- | mert/CderScorer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mert/CderScorer.cpp b/mert/CderScorer.cpp index a27fd78f6..9ac38021b 100644 --- a/mert/CderScorer.cpp +++ b/mert/CderScorer.cpp @@ -45,7 +45,7 @@ void CderScorer::prepareStatsVector(size_t sid, const string& text, vector<int>& } } -float CderScorer::calculateScore(const vector<int>& comps) +float CderScorer::calculateScore(const vector<int>& comps) const { if (comps.size() != 2) { |