diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-11-11 19:32:58 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-11-11 19:32:58 +0400 |
commit | 2d8f9bc515699e7e31264d07d314089d26868217 (patch) | |
tree | 967a15483cbf6aa5dcefa4582fed7514abac97c8 /moses/Parameter.h | |
parent | 6bf4fb6f4c9066baf131d74a092688272c2f8fc4 (diff) |
bug fixes for TargetNGramFeature
Diffstat (limited to 'moses/Parameter.h')
-rw-r--r-- | moses/Parameter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/Parameter.h b/moses/Parameter.h index 973a1f09b..be6b9c653 100644 --- a/moses/Parameter.h +++ b/moses/Parameter.h @@ -114,7 +114,7 @@ public: OverwriteParam(GetFullName(paramShortName),values); } - std::vector<float> &GetWeights(const std::string &name); + std::vector<float> GetWeights(const std::string &name); std::set<std::string> GetWeightNames() const; const PARAM_MAP &GetParams() const { |