mirror of
https://github.com/aicodix/modem.git
synced 2026-04-27 22:35:41 +00:00
use bin
This commit is contained in:
parent
b10e171e9a
commit
ac25210651
1 changed files with 1 additions and 1 deletions
|
|
@ -111,7 +111,7 @@ struct Encoder
|
|||
if (norm(orig) <= value(1))
|
||||
break;
|
||||
for (int i = 0; i < symbol_len; ++i)
|
||||
tdom[i] -= orig * kern[(symbol_len-peak+i)%symbol_len];
|
||||
tdom[i] -= orig * kern[bin(i-peak)];
|
||||
}
|
||||
}
|
||||
void symbol(bool papr_reduction = true, bool guard_interval = true)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue