Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
spxiwh committed Nov 25, 2024
1 parent 56bf071 commit 5de37e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pycbc/events/threshold_cupy.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def threshold_and_cluster(series, threshold, window):
global loc
if val is None:
val = cp.zeros(4096*256, dtype=cp.complex64)
if loc is None
if loc is None:
loc = cp.zeros(4096*256, cp.int32)

outl = loc
Expand All @@ -226,7 +226,7 @@ def __init__(self, series):
global loc
if val is None:
val = cp.zeros(4096*256, dtype=cp.complex64)
if loc is None
if loc is None:
loc = cp.zeros(4096*256, cp.int32)

self.outl = loc
Expand Down

0 comments on commit 5de37e4

Please sign in to comment.