From 1c136653da2a89c69e5f64101eae92b3faaed260 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Mon, 8 Apr 2024 14:59:02 +0200 Subject: Fix FIG completeness calculation, add length histogram --- src/fig0_18.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/fig0_18.cpp') diff --git a/src/fig0_18.cpp b/src/fig0_18.cpp index ecbf7ba..2927a20 100644 --- a/src/fig0_18.cpp +++ b/src/fig0_18.cpp @@ -39,9 +39,8 @@ bool fig0_18_is_complete(int services_id) if (complete) { services_seen.clear(); } - else { - services_seen.insert(services_id); - } + + services_seen.insert(services_id); return complete; } -- cgit v1.2.3