summaryrefslogtreecommitdiff
path: root/decoder/ff.cc
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
commit169b63a4510d33707d260876a82f8e84de983223 (patch)
treec631b389d3afb8d88462fa45d8ee80e6ac5ced17 /decoder/ff.cc
parent15a4bf8c8014b7df4847c6e4d0d6863f531179f6 (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/ff.cc')
-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];