Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'moses/TranslationModel/UG/mm/ug_bitext_pstats.cc')
-rw-r--r--moses/TranslationModel/UG/mm/ug_bitext_pstats.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/TranslationModel/UG/mm/ug_bitext_pstats.cc b/moses/TranslationModel/UG/mm/ug_bitext_pstats.cc
index 580d7669b..8702d9c50 100644
--- a/moses/TranslationModel/UG/mm/ug_bitext_pstats.cc
+++ b/moses/TranslationModel/UG/mm/ug_bitext_pstats.cc
@@ -58,7 +58,7 @@ namespace Moses
++obwd[po_bwd];
if (docid >= 0)
{
- while (int(indoc.size()) <= docid) indoc.push_back(0);
+ // while (int(indoc.size()) <= docid) indoc.push_back(0);
++indoc[docid];
}
}