From 95a69136109665881be66ff4e8f9eca6abb08477 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Fri, 22 Nov 2013 14:27:29 +0100 Subject: argh, const --- training/dtrain/dtrain.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'training/dtrain/dtrain.h') diff --git a/training/dtrain/dtrain.h b/training/dtrain/dtrain.h index ccb5ad4d..eb23b813 100644 --- a/training/dtrain/dtrain.h +++ b/training/dtrain/dtrain.h @@ -64,7 +64,7 @@ struct LocalScorer vector w_; virtual score_t - Score(vector& hyp, vector& ref, const unsigned rank, const unsigned src_len)=0; + Score(const vector& hyp, const vector& ref, const unsigned rank, const unsigned src_len)=0; virtual void Reset() {} // only for ApproxBleuScorer, LinearBleuScorer -- cgit v1.2.3