Commit d45d2319 authored by Johan Richard's avatar Johan Richard
Browse files

Corrected bug in bayesBest

parent 088f1fdd
......@@ -424,7 +424,7 @@ void o_print_res(double chi0, double evidence)
fprintf(besto, "\treference %d %lf %lf\n", M.iref, M.ref_ra, M.ref_dec);
if (M.image)
fprintf(besto, "\timage %d %s\n", M.image, M.imafile);
if( strcmp(M.sourfile, "source.best") )
if(M.source)
fprintf(besto, "\tsource %d %s\n", M.source, M.sourfile);
if (M.study)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment