From 1889fb5d86266846dfb478887674a40954548e7b Mon Sep 17 00:00:00 2001 From: Bob Polis Date: Mon, 23 Nov 2020 11:02:35 +0100 Subject: [PATCH] fixed unnecessary blank line in output when not verbose --- src/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index de6d323..ac21920 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -162,10 +162,11 @@ int main(int argc, const char * argv[]) { std::cerr << '\r' << cur_iter - prev_iter << " iterations per second, " << cur_iter << " total "; } worker.join(); + std::cout << '\n'; } else { robinsonizer.run(); } - std::cout << '\n' << robinsonizer << '\n'; + std::cout << robinsonizer << '\n'; } catch (const std::exception& ex) { std::cerr << "autogram: " << ex.what() << '\n';