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/lattice.cc | |
parent | 4223261682388944fe1b1cf31b9d51d88f9ad53b (diff) | |
parent | 03989754cb2511431e1df6001fca41b3806ad461 (diff) |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'decoder/lattice.cc')
-rw-r--r-- | decoder/lattice.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder/lattice.cc b/decoder/lattice.cc index 1f97048d..2740ce63 100644 --- a/decoder/lattice.cc +++ b/decoder/lattice.cc @@ -49,7 +49,7 @@ void LatticeTools::ConvertTextToLattice(const string& text, Lattice* pl) { l.clear(); l.resize(ids.size()); for (int i = 0; i < l.size(); ++i) - l[i].push_back(LatticeArc(ids[i], 0.0, 1)); + l[i].push_back(LatticeArc(ids[i], SparseVector<double>(), 1)); } void LatticeTools::ConvertTextOrPLF(const string& text_or_plf, Lattice* pl) { |