lal: fixed missing factor in mkl PSD

parent 302fb352
......@@ -295,6 +295,7 @@ int POWER_SPECTRUM_FUNCTION(REAL_VECTOR_TYPE * spec, const REAL_VECTOR_TYPE * da
REAL_TYPE re = plan->tmp[2 * k - 1];
REAL_TYPE im = plan->tmp[2 * k];
spec->data[k] = re * re + im * im;
spec->data[k] *= 2.0; /* accounts for negative frequency part */
}
/* Nyquist frequency */
......
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