From d7d5b45168d0eda443da64bba083b1b1f13eb277 Mon Sep 17 00:00:00 2001
From: "armindamon.riess" <armindamon.riess@uzh.ch>
Date: Wed, 14 Dec 2022 10:52:18 +0100
Subject: [PATCH] minor output formatting

---
 lib/nBodySim.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/nBodySim.cpp b/lib/nBodySim.cpp
index 03243f6..ddc3095 100644
--- a/lib/nBodySim.cpp
+++ b/lib/nBodySim.cpp
@@ -84,7 +84,7 @@ void nBodySim::runSimulation(double dt, unsigned nSteps) {
                                 // << ", DEV = " << std::setw(12) << verifyForces() 
                                 // << ", MCD = " << std::setw(8)  << calculateMeanCenterDistance()
                                 << ", MID = " << std::setw(8)  << calculateMeanInterparticleDistance() 
-                                << ", COM = " << std::setw(4)  << "(" << COM[0] << ", " << COM[1] << ", " << COM[2] << ") "
+                                << ", COM = " << "(" << COM[0] << ", " << COM[1] << ", " << COM[2] << ")"
                                 << ", E = "   << std::setw(12) << calculateTotalEnergy()
                                 << ", T = "   << std::setw(8)  << duration.count()/1000.0 << " s"
                                 << std::endl;
-- 
GitLab