mirror of
https://github.com/aicodix/code.git
synced 2026-04-27 14:30:36 +00:00
use constants to avoid mistakes
This commit is contained in:
parent
537390db43
commit
2bf8d4ea84
8 changed files with 69 additions and 69 deletions
|
|
@ -16,7 +16,7 @@ public:
|
|||
typedef typename GF::value_type value_type;
|
||||
typedef typename GF::ValueType ValueType;
|
||||
typedef typename GF::IndexType IndexType;
|
||||
static const int N = GF::N, K = N - NR;
|
||||
static const int N = GF::N, K = N - NR, NP = NR;
|
||||
IndexType generator[NR+1];
|
||||
ReedSolomonEncoder()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue