summaryrefslogtreecommitdiff
path: root/training/dtrain
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2015-02-27 13:00:36 +0100
committerPatrick Simianer <p@simianer.de>2015-02-27 13:00:36 +0100
commit4ace45b909581db5fcf0dac31ad8de31e95644db (patch)
treee0c2a9c411e87b27e865a6ab8d702c6734bda651 /training/dtrain
parent6b1a2121cba7c32686d29515a6dc322e62435049 (diff)
fix
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();