Commit 24b8f256 authored by David Keitel's avatar David Keitel

fix fallback for timingFstatMap: None -> 0.0

parent 6057a8ed
......@@ -599,7 +599,7 @@ class TransientGridSearch(GridSearch):
detstat = self.search.get_det_stat(*vals)
windowRange = getattr(self.search, "windowRange", None)
FstatMap = getattr(self.search, "FstatMap", None)
self.timingFstatMap += getattr(self.search, "timingFstatMap", None)
self.timingFstatMap += getattr(self.search, "timingFstatMap", 0.0)
thisCand = list(vals) + [detstat]
if getattr(self, "transientWindowType", None):
if self.tCWFstatMapVersion == "lal":
......
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