Commit 3b544f86 authored by Benjamin Farr's avatar Benjamin Farr
Browse files

Merge branch 'patch-1' into 'master'

bugfix in LALInferencePrintPTMCMCInjectionSample()

See merge request lscsoft/lalsuite!710
parents 144ff774 9da9cd22
Pipeline #54122 passed with stages
in 159 minutes and 49 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