summaryrefslogtreecommitdiff
path: root/decoder/hg.h
diff options
context:
space:
mode:
Diffstat (limited to 'decoder/hg.h')
-rw-r--r--decoder/hg.h4
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;
}