Skip to content

Commit

Permalink
fix build of online2bin
Browse files Browse the repository at this point in the history
  • Loading branch information
sandsmark committed Jun 6, 2020
1 parent 678e999 commit 4267e46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/online2bin/online2-wav-nnet3-wake-word-decoder-faster.cc
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ int main(int argc, char *argv[]) {
std::vector<int32> word_ids;
decoder.FinishTraceBack(&out_fst);
fst::GetLinearSymbolSequence(out_fst,
static_cast<vector<int32> *>(0),
static_cast<std::vector<int32> *>(0),
&word_ids,
static_cast<LatticeArc::Weight*>(0));
PrintPartialResult(word_ids, word_syms, partial_res || word_ids.size());
Expand All @@ -239,7 +239,7 @@ int main(int argc, char *argv[]) {
std::vector<int32> word_ids;
if (decoder.PartialTraceback(&out_fst)) {
fst::GetLinearSymbolSequence(out_fst,
static_cast<vector<int32> *>(0),
static_cast<std::vector<int32> *>(0),
&word_ids,
static_cast<LatticeArc::Weight*>(0));
PrintPartialResult(word_ids, word_syms, false);
Expand Down

0 comments on commit 4267e46

Please sign in to comment.