diff options
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); } |