diff options
author | graehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-08-10 23:48:33 +0000 |
---|---|---|
committer | graehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-08-10 23:48:33 +0000 |
commit | 131c2280809e890a817688b708f03a231025fd77 (patch) | |
tree | 8e232e05e4314df1963bf8a69f83348ba28fa80e | |
parent | 963b7b96576de000a743ef377c439ea5c6787e2e (diff) |
NTSpan set l,r
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@502 ec762483-ff6d-05da-a07a-a48fb63a330f
-rw-r--r-- | decoder/hg.h | 4 |
1 files 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; } |