Skip to content
Snippets Groups Projects
Commit ace7c56d authored by James Clark's avatar James Clark
Browse files

Merge branch 'gnuplot_segfault_fix' into 'master'

removing offending fcloses

See merge request lscsoft/bayeswave!65
parents 09455578 0b3118ba
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
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