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 | 0fec6f37266ecbaf6f72d2f3d7e652c78004af17 (patch) | |
tree | 6eb1361618dd45df881baf6e8db86bcde68997ba | |
parent | 2cc482a64c687ef9505449e903776a1f1e595343 (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; } |