Skip to content
Snippets Groups Projects

removing offending fcloses

1 file
+ 0
13
Compare changes
  • Side-by-side
  • Inline
+ 0
13
@@ -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)
Loading