Commit 7ea88680 authored by John Douglas Veitch's avatar John Douglas Veitch

Remove deltalogl parameters from Nest

parent 421159f5
......@@ -1630,17 +1630,6 @@ INT4 LALInferenceNestedSamplingSloppySample(LALInferenceRunState *runState)
tmp=logLnew-*(REAL8 *)LALInferenceGetVariable(runState->algorithmParams,"logZnoise");
LALInferenceAddVariable(threadState->currentParams,"deltalogL",(void *)&tmp,LALINFERENCE_REAL8_t,LALINFERENCE_PARAM_OUTPUT);
}
ifo=0;
data=runState->data;
while(data)
{
if(!threadState->model->ifo_loglikelihoods) break;
tmp=threadState->model->ifo_loglikelihoods[ifo] - data->nullloglikelihood;
sprintf(tmpName,"deltalogl%s",data->name);
LALInferenceAddVariable(threadState->currentParams,tmpName,&tmp,LALINFERENCE_REAL8_t,LALINFERENCE_PARAM_OUTPUT);
ifo++;
data=data->next;
}
LALInferenceCopyVariables(threadState->currentParams,&oldParams);
logLold=logLnew;
threadState->currentLikelihood=logLnew;
......@@ -1661,16 +1650,6 @@ INT4 LALInferenceNestedSamplingSloppySample(LALInferenceRunState *runState)
tmp=logLnew-*(REAL8 *)LALInferenceGetVariable(runState->algorithmParams,"logZnoise");
LALInferenceAddVariable(threadState->currentParams,"deltalogL",(void *)&tmp,LALINFERENCE_REAL8_t,LALINFERENCE_PARAM_OUTPUT);
}
ifo=0;
data=runState->data;
while(data && threadState->model->ifo_loglikelihoods)
{
tmp=threadState->model->ifo_loglikelihoods[ifo] - data->nullloglikelihood;
sprintf(tmpName,"deltalogl%s",data->name);
LALInferenceAddVariable(threadState->currentParams,tmpName,&tmp,LALINFERENCE_REAL8_t,LALINFERENCE_PARAM_OUTPUT);
ifo++;
data=data->next;
}
}
/* Compute some statistics for information */
......
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