From 37ed2c59d9f5504476592cd4bd89725a1ddcadba Mon Sep 17 00:00:00 2001 From: Chris Dyer Date: Tue, 22 Feb 2011 14:46:46 -0500 Subject: fix typo --- decoder/ff_spans.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/decoder/ff_spans.cc b/decoder/ff_spans.cc index 6e92535a..989eed56 100644 --- a/decoder/ff_spans.cc +++ b/decoder/ff_spans.cc @@ -57,7 +57,7 @@ void SpanFeatures::TraversalFeaturesImpl(const SentenceMetadata& smeta, if (edge.rule_->lhs_ == kS) features->set_value(span_feats_(edge.i_,edge.j_).second, 1); else - features->set_value(span_feats_(edge.i_,edge.j_).second, 1); + features->set_value(span_feats_(edge.i_,edge.j_).first, 1); if (edge.Arity() == 2) { const TRule& rule = *edge.rule_; if (rule.f_[0] == kS && rule.f_[1] == kX) { -- cgit v1.2.3