Commit 9da9cd22 authored by Vivien Raymond's avatar Vivien Raymond
Browse files

bugfix in LALInferencePrintPTMCMCInjectionSample()

parent 144ff774
Pipeline #54080 passed with stages
in 79 minutes and 4 seconds
......@@ -1640,7 +1640,9 @@ void LALInferencePrintPTMCMCInjectionSample(LALInferenceRunState *runState) {
sy = theEventTable->spin2y;
sz = theEventTable->spin2z;
REAL8 a_spin2 = sqrt(sx*sx + sy*sy + sz*sz), theta_spin2, phi_spin2;
REAL8 a_spin2 = sqrt(sx*sx + sy*sy + sz*sz);
REAL8 theta_spin2, phi_spin2;
if (a_spin2 == 0.0) {
theta_spin2 = 0.0;
phi_spin2 = 0.0;
......
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