diff options
author | Chris Dyer <cdyer@cs.cmu.edu> | 2011-01-25 22:30:48 +0200 |
---|---|---|
committer | Chris Dyer <cdyer@cs.cmu.edu> | 2011-01-25 22:30:48 +0200 |
commit | 931a036dc3cf9e1deafc10e78e94a0ebe3c8004f (patch) | |
tree | 9e1935fc4deafdbd04a8d38835c91b57f359cdee /klm/util/ersatz_progress.cc | |
parent | bee6a3c3f6c54cf7449229488c6124dddc7e2f31 (diff) |
update kenlm
Diffstat (limited to 'klm/util/ersatz_progress.cc')
-rw-r--r-- | klm/util/ersatz_progress.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/klm/util/ersatz_progress.cc b/klm/util/ersatz_progress.cc index 55c182bd..a82ce672 100644 --- a/klm/util/ersatz_progress.cc +++ b/klm/util/ersatz_progress.cc @@ -36,6 +36,7 @@ void ErsatzProgress::Milestone() { if (stone == kWidth) { (*out_) << std::endl; next_ = std::numeric_limits<std::size_t>::max(); + out_ = NULL; } else { next_ = std::max(next_, (stone * complete_) / kWidth); } |