summaryrefslogtreecommitdiff
path: root/decoder/hg_io.cc
diff options
context:
space:
mode:
authorChris Dyer <cdyer@cab.ark.cs.cmu.edu>2012-10-16 00:37:21 -0400
committerChris Dyer <cdyer@cab.ark.cs.cmu.edu>2012-10-16 00:37:21 -0400
commit51b5c16c9110999ac573bd3383d7eb0e3f10fc37 (patch)
treef7983c151f079edecc102f29c6d2aa698411ad95 /decoder/hg_io.cc
parentdc435732dbe8929aac900fef8b1d454291769862 (diff)
clean up of bad header includes
Diffstat (limited to 'decoder/hg_io.cc')
-rw-r--r--decoder/hg_io.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder/hg_io.cc b/decoder/hg_io.cc
index 8f604c89..64c6663e 100644
--- a/decoder/hg_io.cc
+++ b/decoder/hg_io.cc
@@ -28,7 +28,7 @@ struct HGReader : public JSONParser {
hg.ConnectEdgeToHeadNode(&hg.edges_[in_edges[i]], node);
}
}
- void CreateEdge(const TRulePtr& rule, FeatureVector* feats, const SmallVectorUnsigned& tail) {
+ void CreateEdge(const TRulePtr& rule, SparseVector<double>* feats, const SmallVectorUnsigned& tail) {
Hypergraph::Edge* edge = hg.AddEdge(rule, tail);
feats->swap(edge->feature_values_);
edge->i_ = spans[0];