From b2ad842245f1645e4e9f3c60a80a07e13151a560 Mon Sep 17 00:00:00 2001 From: graehl Date: Mon, 26 Jul 2010 01:07:36 +0000 Subject: stateful ff_from_fsa works - fixed bug that never moved right state from rightmost variable up to result git-svn-id: https://ws10smt.googlecode.com/svn/trunk@413 ec762483-ff6d-05da-a07a-a48fb63a330f --- decoder/hg.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'decoder/hg.h') diff --git a/decoder/hg.h b/decoder/hg.h index 6dd10584..ea0e8aa1 100644 --- a/decoder/hg.h +++ b/decoder/hg.h @@ -98,7 +98,7 @@ public: void copy_info(Edge const& o) { #if USE_INFO_EDGE - set_info(o.info_.str()); + set_info(o.info_.str()); // by convention, each person putting info here starts with a separator (e.g. space). it's empty if nobody put any info there. #endif } void copy_pod(Edge const& o) { @@ -157,7 +157,7 @@ public: o<AsString(mask&RULE_LHS); if (USE_INFO_EDGE) { std::string const& i=info(); - if (mask&&!i.empty()) o << " ||| "<