Skip to content

Commit 2b6fc39

Browse files
committed
format and lint
1 parent 95c7ff8 commit 2b6fc39

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/mesh/mesh-gmg.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,7 @@ void SetMeshBlockNeighbors(Mesh *pmesh, GridIdentifier grid_id, BlockList_t &blo
9696
if (grid_id.type == GridType::leaf) {
9797
pmb->neighbors = all_neighbors;
9898
for (const auto &n : all_neighbors) {
99-
if (n.loc.level() < pmb->loc.level())
100-
pmb->has_coarser_neighbors_ = true;
99+
if (n.loc.level() < pmb->loc.level()) pmb->has_coarser_neighbors_ = true;
101100
}
102101
} else if (grid_id.type == GridType::two_level_composite &&
103102
pmb->loc.level() == grid_id.logical_level) {

src/mesh/mesh_neighbors.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ void SetMeshBlockNeighbors(Mesh *pmesh, GridIdentifier grid_id, BlockList_t &blo
4242

4343
} // namespace parthenon
4444

45-
#endif // MESH_MESH_NEIGHBORS_HPP_
45+
#endif // MESH_MESH_NEIGHBORS_HPP_

0 commit comments

Comments
 (0)