aboutsummaryrefslogtreecommitdiffstats
path: root/src/fig0_8.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2024-04-08 14:59:02 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2024-04-08 14:59:02 +0200
commit1c136653da2a89c69e5f64101eae92b3faaed260 (patch)
treedfe39449204621c5e9981026159c1cd15b8c7b7e /src/fig0_8.cpp
parent7c51df4e6f13b7c85300e2da2b9759adee671eae (diff)
downloadetisnoop-next.tar.gz
etisnoop-next.tar.bz2
etisnoop-next.zip
Fix FIG completeness calculation, add length histogramnext
Diffstat (limited to 'src/fig0_8.cpp')
-rw-r--r--src/fig0_8.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fig0_8.cpp b/src/fig0_8.cpp
index 8a651ad..3ac4636 100644
--- a/src/fig0_8.cpp
+++ b/src/fig0_8.cpp
@@ -46,9 +46,9 @@ bool fig0_8_is_complete(SId_t SId, SCIdS_t SCIdS)
if (complete) {
components_seen.clear();
}
- else {
- components_seen.insert(key);
- }
+
+ components_seen.insert(key);
+
return complete;
}