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.h | |
parent | 1ec58e7edf3ee39eddc427a3498b28e0f0577db4 (diff) |
Use const Scorer::calculateScore().
Diffstat (limited to 'mert/CderScorer.h')
-rw-r--r-- | mert/CderScorer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mert/CderScorer.h b/mert/CderScorer.h index edbca78e2..a8d908374 100644 --- a/mert/CderScorer.h +++ b/mert/CderScorer.h @@ -34,7 +34,7 @@ public: return 2; } - float calculateScore(const vector<int>& comps); + virtual float calculateScore(const vector<int>& comps) const; private: typedef vector<int> sent_t; |