Skip to content

Commit e3556a0

Browse files
KarelVesely84danpovey
authored andcommitted
[src] Add missing 'fst::Connect() in parallel determinization; fixes issue kaldi-asr#2448 (kaldi-asr#2452)
1 parent 6b94eb7 commit e3556a0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/latbin/lattice-determinize-pruned-parallel.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ class DeterminizeLatticeTask {
6262
}
6363
delete lat_; // This is no longer needed so we can delete it now;
6464
lat_ = NULL;
65+
fst::Connect(&det_clat_); // remove states not leading to any final state,
6566
if (minimize_) {
6667
PushCompactLatticeStrings(&det_clat_);
6768
PushCompactLatticeWeights(&det_clat_);

0 commit comments

Comments
 (0)