Skip to content
Snippets Groups Projects
Commit 10856c13 authored by Armin Damon Riess's avatar Armin Damon Riess
Browse files

don't save header in energy.dat

parent b6431868
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment