From 479a3ff81b7075d305dbb11598d5d3dc101262d3 Mon Sep 17 00:00:00 2001 From: Yifan Wang Date: Mon, 5 Feb 2024 14:48:03 +0100 Subject: [PATCH] Fix a bug in pycbc_coinc_findtrigs (#4618) * fix the numpy ndarray bug * typo --- 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 53b13589c61..887d56edac8 100644 --- a/bin/all_sky_search/pycbc_coinc_findtrigs +++ b/bin/all_sky_search/pycbc_coinc_findtrigs @@ -179,7 +179,7 @@ if args.randomize_template_order: shuffle(template_ids) template_ids = template_ids[tmin:tmax] else: - template_ids = numpy.array([range(tmin, tmax)]) + template_ids = numpy.arange(tmin, tmax) original_bank_len = len(template_ids)