diff options
author | tlatorre <tlatorre@uchicago.edu> | 2018-11-14 11:44:10 -0600 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2018-11-14 11:44:10 -0600 |
commit | 4eace55dd4053afc2fb40f73bc2eee0ca5a05aa3 (patch) | |
tree | 79de32f93d8b2789e58b94115e90f17f25be5022 /src | |
parent | 724d30d535749855fc04ece9193b54a4de07cf77 (diff) | |
download | sddm-4eace55dd4053afc2fb40f73bc2eee0ca5a05aa3.tar.gz sddm-4eace55dd4053afc2fb40f73bc2eee0ca5a05aa3.tar.bz2 sddm-4eace55dd4053afc2fb40f73bc2eee0ca5a05aa3.zip |
update yaml format to store fit results as a dictionary indexed by the particle id
Diffstat (limited to 'src')
-rw-r--r-- | src/fit.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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]); |