diff --git a/py3gpp/nrBCHDecode.py b/py3gpp/nrBCHDecode.py index c75927f..40ca50b 100644 --- a/py3gpp/nrBCHDecode.py +++ b/py3gpp/nrBCHDecode.py @@ -6,7 +6,7 @@ def nrBCHDecode(softbits, L, lssb=None, ncellid=None): - K = 32 + K = 32 + 24 E = 864 L = 8 N = 512 diff --git a/py3gpp/nrPolarDecode.py b/py3gpp/nrPolarDecode.py index cf91bf4..bdc1e31 100644 --- a/py3gpp/nrPolarDecode.py +++ b/py3gpp/nrPolarDecode.py @@ -201,8 +201,7 @@ def nrPolarDecode(rec, K, E, L, padCRC=False, nmax=9, iil=True, CRClen=24): if nmax not in (9, 10): print("Error: invalid nmax value!") exit() - - K = 56 + # TODO: what to do with E argument, it is currently deducted from rec shape N = 512 frozen_pos, info_pos = generate_5g_ranking(K, N) diff --git a/pyproject.toml b/pyproject.toml index cebecaa..8949071 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ build-backend = "setuptools.build_meta" py3gpp = ["codes/*.csv"] [project] -version = "0.3.3" +version = "0.3.4" authors = [ {name = "Benjamin Menküc", email = "benjamin@menkuec.de"}, ]