From 4ace45b909581db5fcf0dac31ad8de31e95644db Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Fri, 27 Feb 2015 13:00:36 +0100 Subject: fix --- training/dtrain/dtrain.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'training/dtrain') 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(); -- cgit v1.2.3