Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mert/Scorer.h')
-rw-r--r--mert/Scorer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mert/Scorer.h b/mert/Scorer.h
index 55a0ee935..903ec06ae 100644
--- a/mert/Scorer.h
+++ b/mert/Scorer.h
@@ -181,7 +181,7 @@ protected:
/**
* Calculate the actual score.
*/
- virtual statscore_t calculateScore(const vector<int>& totals) = 0;
+ virtual statscore_t calculateScore(const vector<int>& totals) const = 0;
// regularisation
ScorerRegularisationStrategy _regularisationStrategy;