diff --git a/lib/nBodySim.cpp b/lib/nBodySim.cpp index 256152ec54eb488c0ab98eafe4f9b5d187c7554f..cf6a5f778dd6e9c5acc5964ccfa1606a65102589 100644 --- a/lib/nBodySim.cpp +++ b/lib/nBodySim.cpp @@ -68,7 +68,6 @@ void nBodySim::runSimulation(double dt, unsigned nSteps) { std::ofstream energyFile("../out/energy.dat"); positionsFile << nParticles_ << " " << skip << " " << dt << std::endl; - energyFile << nParticles_ << " " << skip << " " << dt << std::endl; for (unsigned i=0; i < nSteps; ++i) {