From 9525aa8a6abeda252367c6821d657f9f8174d383 Mon Sep 17 00:00:00 2001 From: Ahmet Inan Date: Sun, 15 Feb 2026 10:36:35 +0100 Subject: [PATCH] give pruned paths the same rank --- pac_list_decoder.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pac_list_decoder.hh b/pac_list_decoder.hh index 2624b0c..f567344 100644 --- a/pac_list_decoder.hh +++ b/pac_list_decoder.hh @@ -154,7 +154,7 @@ public: for (int i = 0; i < TYPE::SIZE; ++i) if (((state[i] & 8064) >> 7) != ((state[i] & 126) >> 1)) - metric[i] += 1000000; + metric[i] = 1000000; int perm[TYPE::SIZE]; CODE::insertion_sort(perm, metric, TYPE::SIZE); for (int i = 0, r = 0; rank != nullptr && i < TYPE::SIZE; ++i) {