From 23812a1f0e53ff4593a195206d652afcda85f605 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