diff options
author | Lőrinc <lorinc.pap@gmail.com> | 2024-03-09 13:32:38 +0100 |
---|---|---|
committer | josibake <josibake@protonmail.com> | 2024-05-21 09:14:55 +0200 |
commit | 7f3f6c6dc80247e6dfb0d406dc53bc8198f029fd (patch) | |
tree | 580bff1b5c69c7f96cf03a536e40e55fbdf24248 /src/util | |
parent | 5676aec1e1a6d2c6fd3099e120e263a0a7def089 (diff) |
refactor: replace hardcoded numbers
Replace ExpandHRP with a PreparePolynomialCoefficients function. Instead
of using a hardcoded value for the size of the array (90 in this case)
and a hardcoded value for the checksum, use the actual values vector and
define checksum size as a constexpr. Use the new CHECKSUM_SIZE
throughout instead 6.
Co-authored-by: Lőrinc <pap.lorinc@gmail.com>
Diffstat (limited to 'src/util')
0 files changed, 0 insertions, 0 deletions