Skip to content

Commit aba3209

Browse files
committed
add back sort
1 parent 3a21d0c commit aba3209

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

bin/all_sky_search/pycbc_fit_sngls_over_multiparam

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,10 @@ if len(parvals) == 1 and args.smoothing_method == 'smooth_tophat':
419419
logging.info("Using efficient 1D tophat smoothing")
420420
sort = parvals[0].argsort()
421421
parvals_0 = parvals[0][sort]
422-
422+
ntotal = ntotal[sort]
423+
nabove = nabove[sort]
424+
invalphan = invalphan[sort]
425+
423426
# For each template, find the range of nearby templates which fall within
424427
# the chosen window.
425428
left = numpy.searchsorted(parvals_0, parvals[0] - args.smoothing_width[0])

0 commit comments

Comments
 (0)