Skip to content

Commit

Permalink
Update kratos/mpi/utilities/gather_modelpart_utility.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Rubén Zorrilla <[email protected]>
  • Loading branch information
loumalouomega and rubenzorrilla authored Dec 18, 2023
1 parent 997a5b9 commit 201443d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kratos/mpi/utilities/gather_modelpart_utility.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ void GatherModelPartUtility::GatherEntityFromOtherPartitions(
// Allocating the temporary entities to bring container
ContainerType entities_to_bring;
std::size_t counter = 0;
for (auto& r_bring : rEntitiesToBring) {
for (const auto& r_bring : rEntitiesToBring) {
counter += r_bring.second.size();
}
entities_to_bring.reserve(counter);
Expand Down

0 comments on commit 201443d

Please sign in to comment.