Maintenance will be performed on git.ligo.org and chat.ligo.org on the 25th April 2019 between 9-10pm CDT, towards the end of the maintenance window there will be a short (5-10 minute) downtime.

Commit ace7c56d authored by James Clark's avatar James Clark

Merge branch 'gnuplot_segfault_fix' into 'master'

removing offending fcloses

See merge request !65
parents 09455578 0b3118ba
Pipeline #47636 passed with stages
in 3 minutes and 4 seconds
......@@ -1051,9 +1051,6 @@ void RJMCMC(struct Data *data, struct Model **model, struct BayesLineParams ***b
copy_int_model(model[chain->index[0]], model_MAP, N, NI,-1);
for(ifo=0; ifo<NI; ifo++) copy_int_model(model[chain->index[0]], model_MAP, N, NI,ifo);
FILE *script = NULL;
FILE *psdscript = NULL;
FILE *bwscript = NULL;
FILE *logLscript = NULL;
if(data->gnuplotFlag)
......@@ -1330,16 +1327,6 @@ void RJMCMC(struct Data *data, struct Model **model, struct BayesLineParams ***b
fclose(chain->runFile);
if(data->gnuplotFlag)
{
fclose(script);
if(data->bayesLineFlag)
{
fclose(bwscript);
fclose(psdscript);
}
}
for(ic=0; ic<NC; ic++)
{
if(ic==0 || data->verboseFlag)
......
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