Commit 57b1ebdd authored by John Douglas Veitch's avatar John Douglas Veitch
Browse files

Fix typos

parent c4936b1a
Pipeline #199992 passed with stages
in 144 minutes and 50 seconds
......@@ -562,12 +562,12 @@ REAL8 priorFunction( LALInferenceRunState *runState, LALInferenceVariables *para
}
/* hardcoding distance prior uniform in volume, while uniform in Sin for declination */
if (LALInferenceCheckVariable(threadState->currentParams,"DIST"){
if (LALInferenceCheckVariable(threadState->currentParams,"DIST")){
REAL8 distance = LALInferenceGetREAL8Variable( threadState->currentParams, "DIST" );
prior += 2.0*log(distance);
}
if (LALInferenceCheckVariable(threadState->currentParams,"DEC"){
if (LALInferenceCheckVariable(threadState->currentParams,"DEC")){
REAL8 declination = LALInferenceGetREAL8Variable( threadState->currentParams, "DEC" );
prior += log(cos(declination));
}
......
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