summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-09 15:24:42 +0000
committergraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-09 15:24:42 +0000
commitddf3ddba142ff08eb8c9504357074a6636283b33 (patch)
tree03a6da40a47f613d0afb05146ae18cd5543d203c
parent745b720cf779585e403cade33eda4f4f2a433a4d (diff)
warn 0 fid if warn 0 wt
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@197 ec762483-ff6d-05da-a07a-a48fb63a330f
-rw-r--r--decoder/ff.cc2
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];