Skip to content
Snippets Groups Projects
Commit 35bf011c authored by chad.hanna's avatar chad.hanna
Browse files

far.py: make sure template ids are passed in in the copy method

parent 479d5ec7
No related branches found
No related tags found
No related merge requests found
......@@ -187,7 +187,7 @@ class RankingStat(snglcoinc.LnLikelihoodRatioMixin):
return self
def copy(self):
new = type(self)(instruments = self.denominator.instruments, min_instruments = self.denominator.min_instruments, delta_t = self.denominator.delta_t)
new = type(self)(template_ids = self.denominator.template_ids, instruments = self.denominator.instruments, min_instruments = self.denominator.min_instruments, delta_t = self.denominator.delta_t)
new.numerator = self.numerator.copy()
new.denominator = self.denominator.copy()
new.zerolag = self.zerolag.copy()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment