From 5de37e412d0f8ffba2fa127b97bfec69635f4a07 Mon Sep 17 00:00:00 2001 From: Ian Harry Date: Mon, 25 Nov 2024 15:20:14 -0600 Subject: [PATCH] Typo --- pycbc/events/threshold_cupy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pycbc/events/threshold_cupy.py b/pycbc/events/threshold_cupy.py index 073f5dccde5..c20fe18aa13 100644 --- a/pycbc/events/threshold_cupy.py +++ b/pycbc/events/threshold_cupy.py @@ -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 @@ -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