summaryrefslogtreecommitdiff
path: root/decoder/parser_test.cc
diff options
context:
space:
mode:
authorCHRISTOPHER DYER <cdyer@CHRISTOPHERs-MacBook-Pro.local>2015-02-03 21:24:07 -0500
committerCHRISTOPHER DYER <cdyer@CHRISTOPHERs-MacBook-Pro.local>2015-02-03 21:24:07 -0500
commit24cee877f2bb4b490495ea578564d0266b1addd3 (patch)
tree9b3456a1f832363294b715be62180c59fc7d7139 /decoder/parser_test.cc
parente2d9eb0ba94acd728a0706fa4209a36f67dd6d80 (diff)
support multiple sparse features on lattice edges
Diffstat (limited to 'decoder/parser_test.cc')
-rw-r--r--decoder/parser_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/decoder/parser_test.cc b/decoder/parser_test.cc
index e2916e44..37c45cc8 100644
--- a/decoder/parser_test.cc
+++ b/decoder/parser_test.cc
@@ -10,8 +10,8 @@
using namespace std;
BOOST_AUTO_TEST_CASE(Parse) {
- LatticeArc a(TD::Convert("ein"), 0.0, 1);
- LatticeArc b(TD::Convert("haus"), 0.0, 1);
+ LatticeArc a(TD::Convert("ein"), SparseVector<double>(), 1);
+ LatticeArc b(TD::Convert("haus"), SparseVector<double>(), 1);
Lattice lattice(2);
lattice[0].push_back(a);
lattice[1].push_back(b);