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_13.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/fig0_13.cpp') diff --git a/src/fig0_13.cpp b/src/fig0_13.cpp index dd053b7..de1eda9 100644 --- a/src/fig0_13.cpp +++ b/src/fig0_13.cpp @@ -46,9 +46,8 @@ bool fig0_13_is_complete(SId_t SId, SCIdS_t SCIdS) if (complete) { components_ids_seen.clear(); } - else { - components_ids_seen.insert(key); - } + + components_ids_seen.insert(key); return complete; } -- cgit v1.2.3