commit | 1dd7c84733b20ba776510369e9daba1a822c5b44 | [log] [tgz] |
---|---|---|
author | Sylvain Munaut <tnt@246tNt.com> | Thu Apr 28 22:30:30 2011 +0200 |
committer | Sylvain Munaut <tnt@246tNt.com> | Thu Apr 28 22:30:30 2011 +0200 |
tree | 607b41ec6e8c0e295751789fcee0a507f7039128 | |
parent | 19dc5c9cca4357ca770f117c45e8baee38bf2c36 [diff] |
core/conv: Only consider error for non-zero soft values If the input value is '0' it should not really affect the error since it's just an indecisive bit. We accept this either an internal '0' (generated via puncture) or as an external '0' (generated via an external puncturing scheme). A real received bit should never be '0', it's always gonna be closer to 1 or the other value ... (thanks to mad@auth.se on the ML for the idea) Signed-off-by: Sylvain Munaut <tnt@246tNt.com>