diff options
author | Patrick Simianer <p@simianer.de> | 2015-02-26 14:24:41 +0100 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2015-02-26 14:24:41 +0100 |
commit | 29ddfafb0dea599965e6a881c25b396a6db2f40f (patch) | |
tree | 5755ec058361776657041ba088062b086eea6d68 /decoder/grammar_test.cc | |
parent | 4223261682388944fe1b1cf31b9d51d88f9ad53b (diff) | |
parent | 03989754cb2511431e1df6001fca41b3806ad461 (diff) |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'decoder/grammar_test.cc')
-rw-r--r-- | decoder/grammar_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/decoder/grammar_test.cc b/decoder/grammar_test.cc index 69240139..11df1e3f 100644 --- a/decoder/grammar_test.cc +++ b/decoder/grammar_test.cc @@ -47,8 +47,8 @@ BOOST_AUTO_TEST_CASE(TestTextGrammarFile) { GrammarPtr g(new TextGrammar(path + "/grammar.prune")); vector<GrammarPtr> grammars(1, g); - 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); |