From 738416c1ff6d3b9f32c1959bbd843e60b9b62267 Mon Sep 17 00:00:00 2001 From: Anton Alkin Date: Wed, 8 Jul 2026 18:45:30 +0200 Subject: [PATCH] rawSlice() requires start and end, rather than start and size --- PWGUD/Core/UDHelpers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PWGUD/Core/UDHelpers.h b/PWGUD/Core/UDHelpers.h index ac3c5cf8b18..a970d82ce27 100644 --- a/PWGUD/Core/UDHelpers.h +++ b/PWGUD/Core/UDHelpers.h @@ -164,7 +164,7 @@ T compatibleBCs(B const& bc, uint64_t const& meanBC, int const& deltaBC, T const } // create bc slice - auto bcslice = bcs.rawSlice(minBCId, maxBCId - minBCId + 1); + auto bcslice = bcs.rawSlice(minBCId, maxBCId); bcs.copyIndexBindings(bcslice); LOGF(debug, " size of slice %d", bcslice.size()); return bcslice;