Skip to content

Commit

Permalink
fix nrSymbolDemodulate()
Browse files Browse the repository at this point in the history
hard decoding had wrong sign
  • Loading branch information
catkira committed Oct 30, 2023
1 parent 64739c0 commit f25eaef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py3gpp/nrSymbolDemodulate.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,5 @@ def nrSymbolDemodulate(input, mod, nVar=1e-10, DecisionType="soft"):
if mod == "16QAM":
output /= 2
else:
output = (output > 0).astype(int)
output = (output < 0).astype(int)
return output

0 comments on commit f25eaef

Please sign in to comment.