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:
authorHieu Hoang <hieu@hoang.co.uk>2013-11-11 19:32:58 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-11-11 19:32:58 +0400
commit2d8f9bc515699e7e31264d07d314089d26868217 (patch)
tree967a15483cbf6aa5dcefa4582fed7514abac97c8 /moses/Parameter.h
parent6bf4fb6f4c9066baf131d74a092688272c2f8fc4 (diff)
bug fixes for TargetNGramFeature
Diffstat (limited to 'moses/Parameter.h')
-rw-r--r--moses/Parameter.h2
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 {