diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2024-04-08 14:59:02 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2024-04-08 14:59:02 +0200 |
commit | 1c136653da2a89c69e5f64101eae92b3faaed260 (patch) | |
tree | dfe39449204621c5e9981026159c1cd15b8c7b7e /src/fig0_28.cpp | |
parent | 7c51df4e6f13b7c85300e2da2b9759adee671eae (diff) | |
download | etisnoop-1c136653da2a89c69e5f64101eae92b3faaed260.tar.gz etisnoop-1c136653da2a89c69e5f64101eae92b3faaed260.tar.bz2 etisnoop-1c136653da2a89c69e5f64101eae92b3faaed260.zip |
Fix FIG completeness calculation, add length histogramnext
Diffstat (limited to 'src/fig0_28.cpp')
-rw-r--r-- | src/fig0_28.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/fig0_28.cpp b/src/fig0_28.cpp index 3a95c5c..e86c676 100644 --- a/src/fig0_28.cpp +++ b/src/fig0_28.cpp @@ -39,9 +39,8 @@ bool fig0_28_is_complete(int cluster_id) if (complete) { clusters_seen.clear(); } - else { - clusters_seen.insert(cluster_id); - } + + clusters_seen.insert(cluster_id); return complete; } |