Commit 23b998fd authored by David Keitel's avatar David Keitel

ComputeFstat: fix whatToCompute

 -it's a bit field, so need += in atoms case
parent ca31578f
Pipeline #9575 passed with stages
in 3 minutes and 31 seconds
......@@ -554,10 +554,9 @@ class ComputeFstat(BaseSearchClass):
logging.info("Initialising FstatInput")
dFreq = 0
self.whatToCompute = lalpulsar.FSTATQ_2F
if self.transientWindowType or self.computeAtoms:
self.whatToCompute = lalpulsar.FSTATQ_ATOMS_PER_DET
else:
self.whatToCompute = lalpulsar.FSTATQ_2F
self.whatToCompute += lalpulsar.FSTATQ_ATOMS_PER_DET
FstatOAs = lalpulsar.FstatOptionalArgs()
FstatOAs.randSeed = lalpulsar.FstatOptionalArgsDefaults.randSeed
......
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