diff --git a/native_client/ctcdecode/ctc_beam_search_decoder.cpp b/native_client/ctcdecode/ctc_beam_search_decoder.cpp index e35e0257..f65888c4 100644 --- a/native_client/ctcdecode/ctc_beam_search_decoder.cpp +++ b/native_client/ctcdecode/ctc_beam_search_decoder.cpp @@ -96,11 +96,7 @@ DecoderState::next(const double *probs, if (full_beam && log_prob_c + prefix->score < min_cutoff) { break; } - if (!prefix->is_empty() && prefix->timesteps.empty()) { - // This should never happen. But we report it if it does. - std::cerr<<"error: non-empty prefix has empty timestep sequence"<is_empty() || !prefix->timesteps.empty()); // blank if (c == blank_id_) {