summaryrefslogtreecommitdiffstats
path: root/utils/training/k_mixture_model.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/training/k_mixture_model.h')
-rw-r--r--utils/training/k_mixture_model.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/training/k_mixture_model.h b/utils/training/k_mixture_model.h
index 50218c2..2d9816b 100644
--- a/utils/training/k_mixture_model.h
+++ b/utils/training/k_mixture_model.h
@@ -54,6 +54,7 @@ static inline parameter_t compute_B(corpus_count_t N,
corpus_count_t T,
corpus_count_t n_0,
corpus_count_t n_1){
+ /* Note: re-check this, to see if we can remove if statement. */
/* Please consider B_2 is no less than 2 in paper. */
if ( 0 == T - n_1 && 0 == N - n_0 - n_1 )
return 2;