Maintenance will be performed on git.ligo.org, chat.ligo.org, containers.ligo.org, and docs.ligo.org starting 2 March 2020 at approximately 8am MST. It is expected to take around 10 minutes and will include a short period of downtime towards the end of the maintenance window. Please direct any comments, concerns, or questions to computing-help@igwn.org.

Commit 060e0de8 authored by John Douglas Veitch's avatar John Douglas Veitch

Remove deltalogl parameters from Nest

parent 07f66ff9
......@@ -1639,17 +1639,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;
......@@ -1670,16 +1659,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