aboutsummaryrefslogtreecommitdiffstats
path: root/src/fig0_3.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/fig0_3.cpp')
-rw-r--r--src/fig0_3.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fig0_3.cpp b/src/fig0_3.cpp
index 6c424b8..1da959d 100644
--- a/src/fig0_3.cpp
+++ b/src/fig0_3.cpp
@@ -38,9 +38,9 @@ bool fig0_3_is_complete(int components_id)
if (complete) {
components_ids_seen.clear();
}
- else {
- components_ids_seen.insert(components_id);
- }
+
+ components_ids_seen.insert(components_id);
+
return complete;
}