Skip to content

Commit

Permalink
#2117: location: loosen assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
lifflander committed Mar 28, 2023
1 parent 99fb383 commit cc3ab0a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/vt/topos/location/location.impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -795,10 +795,12 @@ void EntityLocationCoord<EntityID>::updatePendingRequest(

pending_actions_.erase(pending_iter);
} else {
vtAssert(
not recs_.exists(id),
"Duplicate insertion of the same entity is not allowed"
);
if (not hasDynamicMembership()) {
vtAssert(
not recs_.exists(id),
"Duplicate insertion of the same entity is not allowed"
);
}

recs_.insert(id, home_node, LocRecType{id, eLocState::Remote, node});

Expand Down

0 comments on commit cc3ab0a

Please sign in to comment.