From 15b03336564d5e57e50693f19dd81b45076af5d4 Mon Sep 17 00:00:00 2001 From: redpony Date: Wed, 10 Nov 2010 02:02:04 +0000 Subject: new version of klm git-svn-id: https://ws10smt.googlecode.com/svn/trunk@706 ec762483-ff6d-05da-a07a-a48fb63a330f --- klm/util/ersatz_progress.cc | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'klm/util/ersatz_progress.cc') diff --git a/klm/util/ersatz_progress.cc b/klm/util/ersatz_progress.cc index 09e3a106..55c182bd 100644 --- a/klm/util/ersatz_progress.cc +++ b/klm/util/ersatz_progress.cc @@ -13,10 +13,7 @@ ErsatzProgress::ErsatzProgress() : current_(0), next_(std::numeric_limits= complete_) { + if (stone == kWidth) { + (*out_) << std::endl; next_ = std::numeric_limits::max(); } else { next_ = std::max(next_, (stone * complete_) / kWidth); -- cgit v1.2.3