Commit bca74b0f authored by Jordi Burguet-Castell's avatar Jordi Burguet-Castell
Browse files

compute data quality: fix bug, only 1st sample was checked for computing badgamma

Original: 687cb84940ea64c45ad6d5b80edda59fff0f9422
parent 1bb336d9
......@@ -123,7 +123,7 @@ int XLALComputeDQ(REAL4* sv_data, int r_sv,
badgamma = 0;
for (j = 0; j < r_gamma; j++) {
REAL8 re = gamma_data[j].re;
REAL8 re = gamma_data[i*r_gamma + j].re;
if (re < 0.8 || re > 1.2) /* || isnan(re) || isinf(re) not C89 */
badgamma = 1;
}
......
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