aboutsummaryrefslogtreecommitdiff
path: root/src/fit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fit.c')
-rw-r--r--src/fit.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fit.c b/src/fit.c
index 82586f9..2b9652a 100644
--- a/src/fit.c
+++ b/src/fit.c
@@ -5580,8 +5580,7 @@ int main(int argc, char **argv)
long long elapsed = (tv_stop.tv_sec - tv_start.tv_sec)*1000 + (tv_stop.tv_usec - tv_start.tv_usec)/1000;
if (fout) {
- fprintf(fout, " -\n");
- fprintf(fout, " id: %i\n", particles[i]);
+ fprintf(fout, " %i:\n", particles[i]);
fprintf(fout, " energy: %.2f\n", xopt[0]);
fprintf(fout, " posx: %.2f\n", xopt[1]);
fprintf(fout, " posy: %.2f\n", xopt[2]);