Skip to content

Commit

Permalink
fix TypeError in unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
acorreia61201 committed Jul 12, 2024
1 parent da48da3 commit 8a8b733
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pycbc/detector.py
Original file line number Diff line number Diff line change
Expand Up @@ -697,8 +697,10 @@ def __init__(self, detector='LISA', reference_time=None, orbits=ESAOrbits(), use

# specify and cache the start time and orbital time series
if reference_time is None:
reference_time = self.orbits.t_base[0]
self.ref_time = reference_time
ref_time = self.orbits.t_base[0]
else:
ref_time = reference_time
self.ref_time = ref_time
self.sample_times = None

# cache the FLR instance along with dt and n
Expand Down

0 comments on commit 8a8b733

Please sign in to comment.