Commit f253e130 authored by Karl Wette's avatar Karl Wette

Merge branch 'fix-timeslice' into 'master'

Fix the case where only one SFT needs to be selected in a SFTCatalog timeslice

See merge request lscsoft/lalsuite!1436
parents ea14eec1 6c3bcf66
Pipeline #155446 failed with stages
in 116 minutes and 33 seconds
......@@ -1942,7 +1942,7 @@ int XLALSFTCatalogTimeslice(
XLAL_INIT_MEM(*slice);
// If not empty: set timeslice of SFT catalog
if ( iStart < iEnd )
if ( iStart <= iEnd )
{
slice->length = iEnd - iStart + 1;
slice->data = &catalog->data[iStart];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment