Commit 8347b253 authored by Katerina Chatziioannou's avatar Katerina Chatziioannou

Merge branch 'master' into 'master'

skip noise evidence calculation if not using BL

See merge request lscsoft/bayeswave!151
parents c3a08e7f 585191a3
......@@ -1426,9 +1426,11 @@ void RJMCMC(struct Data *data, struct Model **model, struct BayesLineParams ***b
/******************************************************************************/
if(data->splineEvidenceFlag && !data->cleanFlag)
{
ThermodynamicIntegration(chain->temperature, chain->logLchain, chain->nPoints, chain->NC, modelname, &logZ, &varZ);
if (!(data->noiseFlag && !data->bayesLineFlag)){
ThermodynamicIntegration(chain->temperature, chain->logLchain, chain->nPoints, chain->NC, modelname, &logZ, &varZ);
printf("Thermodynamic Integration logZ = %g +/- %g\n",logZ,sqrt(varZ));
printf("Thermodynamic Integration logZ = %g +/- %g\n",logZ,sqrt(varZ));
}
}
}
......
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