Skip to content

Commit

Permalink
Auto-format code changes (#715)
Browse files Browse the repository at this point in the history
Auto-format code using Clang-Format

Co-authored-by: GitHub Actions <[email protected]>
  • Loading branch information
github-actions[bot] and actions-user authored Jan 25, 2025
1 parent 5e58246 commit 60468fc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion include/micm/process/process_set.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ namespace micm
const std::size_t number_of_reactants = number_of_reactants_[i_rxn];
const std::size_t number_of_products = number_of_products_[i_rxn];
for (std::size_t i_ind = 0; i_ind < number_of_reactants; ++i_ind)
{
{
d_rate_d_ind.assign(v_rate_subrange_begin, v_rate_subrange_begin + L);
for (std::size_t i_react = 0; i_react < number_of_reactants; ++i_react)
{
Expand Down
4 changes: 2 additions & 2 deletions include/micm/solver/lu_decomposition_doolittle_in_place.inl
Original file line number Diff line number Diff line change
Expand Up @@ -191,10 +191,10 @@ namespace micm
auto akj_aji = akj_aji_.begin();
for (const auto& nik_nki_aii : nik_nki_aii_)
{
const std::size_t ik_limit = std::get<0>(nik_nki_aii);
const std::size_t ik_limit = std::get<0>(nik_nki_aii);
for (std::size_t ik = 0; ik < ik_limit; ++ik)
{
const std::size_t jk_limit = aik_njk->second;
const std::size_t jk_limit = aik_njk->second;
for (std::size_t jk = 0; jk < jk_limit; ++jk)
{
auto ALU_vector_aik_njk_it = ALU_vector + aik_njk->first;
Expand Down
2 changes: 1 addition & 1 deletion include/micm/solver/lu_decomposition_mozart_in_place.inl
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ namespace micm
const std::size_t ALU_BlockSize = ALU.NumberOfBlocks();
constexpr std::size_t ALU_GroupVectorSize = SparseMatrixPolicy::GroupVectorSize();
const std::size_t ALU_GroupSizeOfFlatBlockSize = ALU.GroupSize();
std::vector<double>Aii_inverse(ALU_GroupVectorSize);
std::vector<double> Aii_inverse(ALU_GroupVectorSize);

// Loop over groups of blocks
for (std::size_t i_group = 0; i_group < ALU.NumberOfGroups(ALU_BlockSize); ++i_group)
Expand Down

0 comments on commit 60468fc

Please sign in to comment.