From 0fec6f37266ecbaf6f72d2f3d7e652c78004af17 Mon Sep 17 00:00:00 2001 From: graehl Date: Tue, 10 Aug 2010 23:48:33 +0000 Subject: NTSpan set l,r git-svn-id: https://ws10smt.googlecode.com/svn/trunk@502 ec762483-ff6d-05da-a07a-a48fb63a330f --- decoder/hg.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/decoder/hg.h b/decoder/hg.h index 59db6cfe..d5c8e197 100644 --- a/decoder/hg.h +++ b/decoder/hg.h @@ -210,7 +210,7 @@ public: if (!n.in_edges_.empty()) { Edge const& e=edges_[n.in_edges_.front()]; r.s.l=e.i_; - r.s.l=e.j_; + r.s.r=e.j_; // if (e.rule_) r.nt=-e.rule_->lhs_; } } @@ -225,7 +225,7 @@ public: if (!n.in_edges_.empty()) { Edge const& e=edges_[n.in_edges_.front()]; s.l=e.i_; - s.l=e.j_; + s.r=e.j_; } return s; } -- cgit v1.2.3