summaryrefslogtreecommitdiff
path: root/training/dtrain
diff options
context:
space:
mode:
Diffstat (limited to 'training/dtrain')
-rw-r--r--training/dtrain/dtrain.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/training/dtrain/dtrain.cc b/training/dtrain/dtrain.cc
index 63b154b4..e5cfd50a 100644
--- a/training/dtrain/dtrain.cc
+++ b/training/dtrain/dtrain.cc
@@ -114,13 +114,14 @@ main(int argc, char** argv)
// produce some pretty output
if (next) {
- if (i%20==0)
+ if (i%20 == 0)
cerr << " ";
cerr << ".";
if ((i+1)%20==0)
cerr << " " << i+1 << endl;
} else {
- cerr << " " << i << endl;
+ if (i%20 != 0)
+ cerr << " " << i << endl;
}
cerr.flush();