fix clang format style
This commit is contained in:
parent
d575561d39
commit
6f9aea4e56
@ -106,12 +106,14 @@ template <typename DataT> class SharedMemoryWrapper
|
|||||||
return m_ptr[index];
|
return m_ptr[index];
|
||||||
}
|
}
|
||||||
|
|
||||||
const DataT &front() const {
|
const DataT &front() const
|
||||||
|
{
|
||||||
BOOST_ASSERT_MSG(m_size > 0, "invalid size");
|
BOOST_ASSERT_MSG(m_size > 0, "invalid size");
|
||||||
return m_ptr[0];
|
return m_ptr[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
const DataT &back() const {
|
const DataT &back() const
|
||||||
|
{
|
||||||
BOOST_ASSERT_MSG(m_size > 0, "invalid size");
|
BOOST_ASSERT_MSG(m_size > 0, "invalid size");
|
||||||
return m_ptr[m_size - 1];
|
return m_ptr[m_size - 1];
|
||||||
}
|
}
|
||||||
|
@ -120,8 +120,8 @@ bisectionToPartition(const std::vector<BisectionID> &node_to_bisection_id,
|
|||||||
std::iota(permutation.begin(), permutation.end(), 0);
|
std::iota(permutation.begin(), permutation.end(), 0);
|
||||||
|
|
||||||
std::vector<CellBisection> cells;
|
std::vector<CellBisection> cells;
|
||||||
cells.push_back(
|
cells.push_back(CellBisection{
|
||||||
CellBisection{0, static_cast<std::uint32_t>(node_to_bisection_id.size()), NUM_BISECTION_BITS-1, false});
|
0, static_cast<std::uint32_t>(node_to_bisection_id.size()), NUM_BISECTION_BITS - 1, false});
|
||||||
|
|
||||||
std::vector<Partition> partitions(max_cell_sizes.size());
|
std::vector<Partition> partitions(max_cell_sizes.size());
|
||||||
std::vector<std::uint32_t> num_cells(max_cell_sizes.size());
|
std::vector<std::uint32_t> num_cells(max_cell_sizes.size());
|
||||||
|
Loading…
Reference in New Issue
Block a user