mirror of
https://github.com/aicodix/modem.git
synced 2026-04-27 14:30:34 +00:00
keep limits symmetric
This commit is contained in:
parent
9c75c4f3e2
commit
859b64ef0e
1 changed files with 1 additions and 1 deletions
|
|
@ -309,7 +309,7 @@ struct Decoder
|
|||
soft[i] = std::min<value>(std::max<value>(
|
||||
std::nearbyint(127 * demod_or_erase(
|
||||
fdom[bin(i+mls1_off)], fdom[bin(i-1+mls1_off)]).real()),
|
||||
-128), 127);
|
||||
-127), 127);
|
||||
bool unique = osddec(data, soft, genmat);
|
||||
if (!unique) {
|
||||
std::cerr << "OSD error." << std::endl;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue