diff options
author | graehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-07-09 15:24:42 +0000 |
---|---|---|
committer | graehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-07-09 15:24:42 +0000 |
commit | ddf3ddba142ff08eb8c9504357074a6636283b33 (patch) | |
tree | 03a6da40a47f613d0afb05146ae18cd5543d203c /decoder | |
parent | 745b720cf779585e403cade33eda4f4f2a433a4d (diff) |
warn 0 fid if warn 0 wt
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@197 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'decoder')
-rw-r--r-- | decoder/ff.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder/ff.cc b/decoder/ff.cc index b323ab27..1d52914e 100644 --- a/decoder/ff.cc +++ b/decoder/ff.cc @@ -75,7 +75,7 @@ FeatureFunction::Features ModelSet::all_features(std::ostream *warn,bool warn0) void ModelSet::show_features(std::ostream &out,std::ostream &warn,bool warn_zero_wt) { typedef FeatureFunction::Features FFS; - FFS ffs=all_features(&warn); + FFS ffs=all_features(&warn,warn_zero_wt); out << "Weight Feature\n"; for (unsigned i=0;i<ffs.size();++i) { WordID fid=ffs[i]; |