diff --git a/lib/nBodySim.cpp b/lib/nBodySim.cpp index 03243f6e3600cb3d81a1f2d071c15ff981cbef40..ddc309503c83667d0588ec415c8789a21db537b8 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;