diff --git a/src/nnet3/nnet-batch-compute.cc b/src/nnet3/nnet-batch-compute.cc index a4baceb2d7f..5da55d0f70d 100644 --- a/src/nnet3/nnet-batch-compute.cc +++ b/src/nnet3/nnet-batch-compute.cc @@ -1094,7 +1094,7 @@ bool NnetBatchDecoder::GetOutput( return false; UtteranceOutput *this_output = pending_utts_.front(); pending_utts_.pop_front(); - if (this_output->compact_lat.NumStates() == 0) { + if (this_output->lat.NumStates() == 0) { delete this_output; // ... and continue round the loop, without returning any output to the // user for this utterance. Something went wrong in decoding: for