Skip to content
Snippets Groups Projects
Commit 24b8f256 authored by David Keitel's avatar David Keitel
Browse files

fix fallback for timingFstatMap: None -> 0.0

parent 6057a8ed
No related branches found
No related tags found
No related merge requests found
...@@ -599,7 +599,7 @@ class TransientGridSearch(GridSearch): ...@@ -599,7 +599,7 @@ class TransientGridSearch(GridSearch):
detstat = self.search.get_det_stat(*vals) detstat = self.search.get_det_stat(*vals)
windowRange = getattr(self.search, "windowRange", None) windowRange = getattr(self.search, "windowRange", None)
FstatMap = getattr(self.search, "FstatMap", 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] thisCand = list(vals) + [detstat]
if getattr(self, "transientWindowType", None): if getattr(self, "transientWindowType", None):
if self.tCWFstatMapVersion == "lal": if self.tCWFstatMapVersion == "lal":
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment