Skip to content

Commit

Permalink
Formatting codes for clang-sanitizer
Browse files Browse the repository at this point in the history
  • Loading branch information
hidekb committed Jan 15, 2025
1 parent cb1561c commit 42a24e7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/walberla_bridge/src/lattice_boltzmann/LBWalberlaImpl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1264,9 +1264,9 @@ class LBWalberlaImpl : public LBWalberlaBase {
auto const values = lbm::accessor::Vector::get(field, *bci);
assert(values.size() == 3u * bci->numCells());

auto func = [&values, &out, this](uint_t block_index,
uint_t local_index,
Utils::Vector3i node) {
auto func = [&values, &out](uint_t block_index,
uint_t local_index,
Utils::Vector3i node) {
for (uint_t f = 0u; f < 3u; ++f) {
out[static_cast<unsigned int>(3u * local_index + f)] =
values[static_cast<unsigned int>(3u * block_index + f)];
Expand Down

0 comments on commit 42a24e7

Please sign in to comment.