Skip to content

Commit

Permalink
Reviewer comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
emilyfertig committed Oct 2, 2024
1 parent 41fed11 commit 93755f6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cxx/clean_relation.hh
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ class CleanRelation : public Relation<T> {
return value;
}

// TODO: add a test.
void cleanup_data(const T_items& items) {
for (int i = 0; i < std::ssize(domains); ++i) {
const std::string& name = domains[i]->name;
Expand All @@ -130,6 +131,7 @@ class CleanRelation : public Relation<T> {
data.erase(items);
}

// TODO: add a test.
void cleanup_clusters() {
for (auto it = clusters.cbegin(); it != clusters.cend();) {
if (it->second->N == 0) {
Expand Down

0 comments on commit 93755f6

Please sign in to comment.