diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2014-06-06 23:35:58 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2014-06-06 23:35:58 +0400 |
commit | 747661ba3e01855992a49173da80632285160c4a (patch) | |
tree | b3263391f4e62a12755d68f7c38d30ebb3dfa317 /moses/ScoreComponentCollection.h | |
parent | 0114766b54f0a77f6008c51363556404d91b68b6 (diff) |
sparse features in on-disk-pt
Diffstat (limited to 'moses/ScoreComponentCollection.h')
-rw-r--r-- | moses/ScoreComponentCollection.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/ScoreComponentCollection.h b/moses/ScoreComponentCollection.h index 68287296f..743be354c 100644 --- a/moses/ScoreComponentCollection.h +++ b/moses/ScoreComponentCollection.h @@ -287,7 +287,7 @@ public: //Read sparse features from string - void Assign(const FeatureFunction* sp, const std::string line); + void Assign(const FeatureFunction* sp, const std::string &line); // shortcut: setting the value directly using the feature name void Assign(const std::string name, float score) { |