Skip to content

Commit

Permalink
Fix a bug in pycbc_coinc_findtrigs (gwastro#4618)
Browse files Browse the repository at this point in the history
* fix the numpy ndarray bug

* typo
  • Loading branch information
yi-fan-wang authored Feb 5, 2024
1 parent d010ec5 commit 479a3ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/all_sky_search/pycbc_coinc_findtrigs
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 479a3ff

Please sign in to comment.