From e693aa38c6ab1b8dd9e76d8c209f9210ec38e25b Mon Sep 17 00:00:00 2001 From: Gareth S Cabourn Davies Date: Wed, 22 Jan 2025 16:25:03 +0000 Subject: [PATCH] index issue (#5018) --- bin/all_sky_search/pycbc_coinc_findtrigs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/all_sky_search/pycbc_coinc_findtrigs b/bin/all_sky_search/pycbc_coinc_findtrigs index f66640bdcbf..3fa74ec33ca 100644 --- a/bin/all_sky_search/pycbc_coinc_findtrigs +++ b/bin/all_sky_search/pycbc_coinc_findtrigs @@ -411,7 +411,7 @@ def process_template(tnum): # with any trigger in the fixed network tidx = len(threshes) for i in range(1, len(threshes)): - if pivot_stat[-1] >= pivot_lower[kidx]: + if pivot_stat[-1] >= pivot_lower[i]: tidx = i break