Skip to content

Commit 903b1a6

Browse files
committed
fixup! update
1 parent b06c920 commit 903b1a6

File tree

1 file changed

+1
-13
lines changed
  • Framework/Core/include/Framework

1 file changed

+1
-13
lines changed

Framework/Core/include/Framework/ASoA.h

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1540,19 +1540,7 @@ auto doSliceBy(T const* table, o2::framework::PresliceBase<C, Policy, OPT> const
15401540
return doSliceByHelper(table, selection);
15411541
}
15421542

1543-
auto sliceSelection(SelectionVector const& mSelectedRows, int64_t nrows, uint64_t offset)
1544-
{
1545-
auto start = offset;
1546-
auto end = start + nrows;
1547-
auto start_iterator = std::lower_bound(mSelectedRows.begin(), mSelectedRows.end(), start);
1548-
auto stop_iterator = std::lower_bound(start_iterator, mSelectedRows.end(), end);
1549-
SelectionVector slicedSelection{start_iterator, stop_iterator};
1550-
std::transform(slicedSelection.begin(), slicedSelection.end(), slicedSelection.begin(),
1551-
[&start](int64_t idx) {
1552-
return idx - static_cast<int64_t>(start);
1553-
});
1554-
return slicedSelection;
1555-
}
1543+
auto sliceSelection(SelectionVector const& mSelectedRows, int64_t nrows, uint64_t offset);
15561544

15571545
template <soa::is_table T>
15581546
requires(!soa::is_filtered_table<T>)

0 commit comments

Comments
 (0)