From 14967f8841b1837791578a8f5846a5b878e3b2c0 Mon Sep 17 00:00:00 2001 From: Ahmet Inan Date: Wed, 8 Jul 2020 11:25:11 +0200 Subject: [PATCH] lowered ML-decoding threshold to K <= 4 --- short_bch_code_decoder.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/short_bch_code_decoder.hh b/short_bch_code_decoder.hh index e275f33..c21b070 100644 --- a/short_bch_code_decoder.hh +++ b/short_bch_code_decoder.hh @@ -93,7 +93,7 @@ public: } } // Chase algorithm - if (K > 6) { + if (K > 4) { const int L = T; int worst[L] = { 0 }; for (int k = 0; k < N; ++k) { @@ -114,7 +114,7 @@ public: } } // maximum likelihood - if (K <= 6) { + if (K <= 4) { for (int msg = 0; msg < W; ++msg) { int enc = (msg << P) | par[msg]; update(enc);