diff options
author | redpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-09-21 20:10:27 +0000 |
---|---|---|
committer | redpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-09-21 20:10:27 +0000 |
commit | 0277e5da3aa444ced74af8085f3349f91d17e56f (patch) | |
tree | 91e9db117a6c5a3cfe02998de943dd0bf28c58e9 /utils/weights.h | |
parent | 46d6e1fd3dbe0bc116a46fdab91b40fe2ecd6803 (diff) |
fix for lattice cost bug
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@653 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'utils/weights.h')
-rw-r--r-- | utils/weights.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/weights.h b/utils/weights.h index f19aa3ce..1849f959 100644 --- a/utils/weights.h +++ b/utils/weights.h @@ -10,7 +10,7 @@ class Weights { public: Weights() {} void InitFromFile(const std::string& fname, std::vector<std::string>* feature_list = NULL); - void WriteToFile(const std::string& fname, bool hide_zero_value_features = true) const; + void WriteToFile(const std::string& fname, bool hide_zero_value_features = true, const std::string* extra = NULL) const; void InitVector(std::vector<double>* w) const; void InitSparseVector(SparseVector<double>* w) const; void InitFromVector(const std::vector<double>& w); |