Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
pmaciel authored and wdeconinck committed Nov 13, 2023
1 parent 2dd5ccf commit 4c27375
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/atlas/redistribution/detail/RedistributeGeneric.cc
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ std::vector<IdxUid> getUidVec(const FunctionSpace& functionspace) {

// Check UIDs are unique.
if (ATLAS_BUILD_TYPE_DEBUG) {
const size_t vecSize = uidVec.size();
auto first_duplicate = std::adjacent_find(
uidVec.begin(), uidVec.end(), [](const IdxUid& a, const IdxUid& b) { return a.second == b.second; });
ATLAS_ASSERT(uidVec.end() == first_duplicate, "Unique ID set has duplicate members");
Expand Down

0 comments on commit 4c27375

Please sign in to comment.