Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mytkom committed Dec 10, 2024
1 parent 6861013 commit 1ec1353
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Framework/Core/include/Framework/ASoA.h
Original file line number Diff line number Diff line change
Expand Up @@ -1215,7 +1215,7 @@ struct TableIterator : IP, C... {
{
static_assert(std::same_as<decltype(&(static_cast<B*>(this)->mColumnIterator)), std::decay_t<decltype(B::mColumnIterator)>*>, "foo");
return &(static_cast<B*>(this)->mColumnIterator);
//return static_cast<std::decay_t<decltype(B::mColumnIterator)>*>(nullptr);
// return static_cast<std::decay_t<decltype(B::mColumnIterator)>*>(nullptr);
}

template <typename B>
Expand Down Expand Up @@ -2157,7 +2157,7 @@ typename C::type getSingleRowData(arrow::Table*, T& rowIterator, uint64_t ci = s
if (globalIndex != std::numeric_limits<uint64_t>::max() && globalIndex != *std::get<0>(rowIterator.getIndices())) {
rowIterator.setCursor(globalIndex);
}
return static_cast<C>(rowIterator).get();
return rowIterator.template getDynamicColumn<C>();
}

template <typename T, soa::is_index_column C>
Expand Down
3 changes: 1 addition & 2 deletions Framework/Core/include/Framework/ASoAHelpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,8 @@ std::vector<BinningIndex> groupTable(const T& table, const BP<Cs...>& binningPol

auto values = binningPolicy.getBinningValues(rowIterator, arrowTable, ci, ai, ind);
auto val = binningPolicy.getBin(values);

if (val != outsider) {
groupedIndices.emplace_back(val, *std::get<1>(rowIterator.getIndices()));
groupedIndices.emplace_back(val, ind);
}
ind++;

Expand Down

0 comments on commit 1ec1353

Please sign in to comment.