diff options
Diffstat (limited to 'utils/training/export_k_mixture_model.cpp')
-rw-r--r-- | utils/training/export_k_mixture_model.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/training/export_k_mixture_model.cpp b/utils/training/export_k_mixture_model.cpp index f42df96..b10ee43 100644 --- a/utils/training/export_k_mixture_model.cpp +++ b/utils/training/export_k_mixture_model.cpp @@ -48,7 +48,7 @@ bool print_k_mixture_model_array_headers(FILE * output, for (size_t i = 0; i < items->len; ++i) { phrase_token_t * token = &g_array_index(items, phrase_token_t, i); KMixtureModelArrayHeader array_header; - bigram->get_array_header(*token, array_header); + assert(bigram->get_array_header(*token, array_header)); char * phrase = taglib_token_to_string(phrase_index, *token); if ( phrase ) fprintf(output, "\\item %s count %d\n", phrase, array_header.m_WC); |