From 78c4ef17b11fe681702cb0619a0b938a0b59f5bd Mon Sep 17 00:00:00 2001 From: godeffroy Date: Mon, 31 Aug 2020 09:33:22 +0200 Subject: [PATCH] PR #3279 - removed unrelated code --- native_client/ctcdecode/ctc_beam_search_decoder.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/native_client/ctcdecode/ctc_beam_search_decoder.cpp b/native_client/ctcdecode/ctc_beam_search_decoder.cpp index 216adff1..e35e0257 100644 --- a/native_client/ctcdecode/ctc_beam_search_decoder.cpp +++ b/native_client/ctcdecode/ctc_beam_search_decoder.cpp @@ -96,9 +96,6 @@ DecoderState::next(const double *probs, if (full_beam && log_prob_c + prefix->score < min_cutoff) { break; } - if (prefix->score == -NUM_FLT_INF) { - continue; - } 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"<