Commit e823bab9 authored by John Douglas Veitch's avatar John Douglas Veitch
Browse files

LALInferenceNestedSampler.c: track proposal acceptance properly

Original: ad21be62814686c1accd261e0bdf862fd27fa48c
parent 04b2ec29
......@@ -1018,6 +1018,7 @@ UINT4 LALInferenceMCMCSamplePrior(LALInferenceRunState *runState)
LALInferenceUpdateAdaptiveJumps(threadState, 0.35);
}
//printf("logLnew = %lf, logPriorNew = %lf, logProposalRatio = %lf\n",thislogL,logPriorNew,logProposalRatio);
threadState->accepted=accepted;
LALInferenceTrackProposalAcceptance(threadState);
//printf("Accepted = %i\n",accepted);
return(accepted);
......
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