From e1c5b58bab35ad10faf9dd6d61199bf7cd8efffd Mon Sep 17 00:00:00 2001 From: lucas Date: Tue, 9 Apr 2024 13:53:51 +0200 Subject: [PATCH] minor fix --- src_cpp/lsd.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src_cpp/lsd.hpp b/src_cpp/lsd.hpp index 03d4043..e279e12 100644 --- a/src_cpp/lsd.hpp +++ b/src_cpp/lsd.hpp @@ -620,7 +620,6 @@ namespace ldpc::lsd { if (do_stats) { this->statistics.global_timestep_bit_history = *global_timestep_bits_history; - } // always take time this->statistics.elapsed_time = std::chrono::duration_cast( @@ -631,6 +630,7 @@ namespace ldpc::lsd { } global_bit_membership->clear(); global_check_membership->clear(); + delete global_timestep_bits_history; return this->decoding; }