Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions Framework/Core/include/Framework/ASoAHelpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,12 @@ std::vector<BinningIndex> groupTable(const T& table, const BP<Cs...>& binningPol
{
std::vector<BinningIndex> groupedIndices;

for(auto rowIterator : table) {
auto values = binningPolicy.getBinningValues(rowIterator);
auto val = binningPolicy.getBin(values);
if (val != outsider) {
groupedIndices.emplace_back(val, *std::get<1>(rowIterator.getIndices()));
}
for (auto rowIterator : table) {
auto values = binningPolicy.getBinningValues(rowIterator);
auto val = binningPolicy.getBin(values);
if (val != outsider) {
groupedIndices.emplace_back(val, *std::get<1>(rowIterator.getIndices()));
}
}

// Do a stable sort so that same categories entries are
Expand Down