diff options
author | graehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-08-11 03:14:27 +0000 |
---|---|---|
committer | graehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-08-11 03:14:27 +0000 |
commit | 90b9ca8b746333f4a47231c244b841f134417706 (patch) | |
tree | bab796d6a5baa81ca97eb7acf03e5860ec4a1e19 /decoder | |
parent | 2f932b8c4141cebdbda89c76cbb3d52137dc3fec (diff) |
do not print NULL binarized cfg TRule
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@519 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'decoder')
-rwxr-xr-x | decoder/cfg.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder/cfg.cc b/decoder/cfg.cc index 147fa1a0..3ee3a94b 100755 --- a/decoder/cfg.cc +++ b/decoder/cfg.cc @@ -129,7 +129,7 @@ void CFG::PrintRule(std::ostream &o,RuleHandle rulei,CFGFormat const& f) const { f.print_rhs(o,*this,r.rhs.begin(),r.rhs.end()); f.print_features(o,r.p,r.f); #if CFG_DEBUG - o<<f.partsep<<*r.rule; + if (r.rule) o<<f.partsep<<*r.rule; #endif } |