aboutsummaryrefslogtreecommitdiffstats
path: root/src/fig0_6.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/fig0_6.cpp')
-rw-r--r--src/fig0_6.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/fig0_6.cpp b/src/fig0_6.cpp
index 0ba4132..6c527ae 100644
--- a/src/fig0_6.cpp
+++ b/src/fig0_6.cpp
@@ -39,9 +39,8 @@ bool fig0_6_is_complete(int link_key)
if (complete) {
links_seen.clear();
}
- else {
- links_seen.insert(link_key);
- }
+
+ links_seen.insert(link_key);
return complete;
}