aboutsummaryrefslogtreecommitdiffstats
path: root/src/fig0_5.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/fig0_5.cpp')
-rw-r--r--src/fig0_5.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/fig0_5.cpp b/src/fig0_5.cpp
index 2243539..cee9e5d 100644
--- a/src/fig0_5.cpp
+++ b/src/fig0_5.cpp
@@ -39,9 +39,8 @@ bool fig0_5_is_complete(int components_id)
if (complete) {
components_seen.clear();
}
- else {
- components_seen.insert(components_id);
- }
+
+ components_seen.insert(components_id);
return complete;
}