summaryrefslogtreecommitdiff
path: root/training/dtrain/dtrain.h
diff options
context:
space:
mode:
authorChris Dyer <redpony@gmail.com>2014-01-15 20:33:07 -0500
committerChris Dyer <redpony@gmail.com>2014-01-15 20:33:07 -0500
commitaa5520768619eb15e0c1c70addbfaff0f150c345 (patch)
treeb81fa2e3d1ae3e79ece18024aae6a499f4d3f3ea /training/dtrain/dtrain.h
parentb1628d8bedb8a4145c77ed5917999379fc99a5d5 (diff)
parent0ddc951bc8990c1253e6a873848ed69321615e0a (diff)
Merge branch 'master' of https://github.com/redpony/cdec
Diffstat (limited to 'training/dtrain/dtrain.h')
-rw-r--r--training/dtrain/dtrain.h2
1 files changed, 1 insertions, 1 deletions
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<score_t> w_;
virtual score_t
- Score(vector<WordID>& hyp, vector<WordID>& ref, const unsigned rank, const unsigned src_len)=0;
+ Score(const vector<WordID>& hyp, const vector<WordID>& ref, const unsigned rank, const unsigned src_len)=0;
virtual void Reset() {} // only for ApproxBleuScorer, LinearBleuScorer