Commit d73317a2 authored by Vivien Raymond's avatar Vivien Raymond

LALInferenceMCMCSampler.c updated to conform with lalinference package

Original: 1f67d47490b553d48036d9dbcb2622d12f2ee2c5
parent 45087275
......@@ -422,10 +422,10 @@ void PTMCMCAlgorithm(struct tagLALInferenceRunState *runState)
//LALInferenceCopyVariables(runState->currentParams,&(TcurrentParams));
//TcurrentLikelihood[t] = runState->currentLikelihood; // save the parameters and temperature.
ppt = getProcParamVal(runState->commandLine, "--adaptVerbose");
ppt = LALInferenceGetProcParamVal(runState->commandLine, "--adaptVerbose");
if (ppt) {
printf("iteration %d\t",i);
printf("MPIrank %d\ttemperature=%f\t",MPIrank,*(REAL8*) getVariable(runState->proposalArgs, "temperature"));
printf("MPIrank %d\ttemperature=%f\t",MPIrank,*(REAL8*) LALInferenceGetVariable(runState->proposalArgs, "temperature"));
for (p=0; p<nPar; ++p) {
printf("%f\t",sigmas->data[p]);
}
......
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