fixed unnecessary blank line in output when not verbose

This commit is contained in:
Bob Polis 2020-11-23 11:02:35 +01:00
parent 8ef8f4e6eb
commit 1889fb5d86

View File

@ -162,10 +162,11 @@ int main(int argc, const char * argv[]) {
std::cerr << '\r' << cur_iter - prev_iter << " iterations per second, " << cur_iter << " total "; std::cerr << '\r' << cur_iter - prev_iter << " iterations per second, " << cur_iter << " total ";
} }
worker.join(); worker.join();
std::cout << '\n';
} else { } else {
robinsonizer.run(); robinsonizer.run();
} }
std::cout << '\n' << robinsonizer << '\n'; std::cout << robinsonizer << '\n';
} catch (const std::exception& ex) { } catch (const std::exception& ex) {
std::cerr << "autogram: " << ex.what() << '\n'; std::cerr << "autogram: " << ex.what() << '\n';