mirror of
https://github.com/aicodix/code.git
synced 2026-04-27 14:30:36 +00:00
make sure POLY doesn't create a shorter sequence
This commit is contained in:
parent
4b0a694beb
commit
b75f73f5ed
1 changed files with 3 additions and 1 deletions
|
|
@ -113,8 +113,10 @@ struct Tables
|
|||
EXP = exp_;
|
||||
log_[exp_[N] = 0] = N;
|
||||
TYPE a = 1;
|
||||
for (int i = 0; i < N; ++i, a = next(a))
|
||||
for (int i = 0; i < N; ++i, a = next(a)) {
|
||||
log_[exp_[i] = a] = i;
|
||||
assert(!i || a != 1);
|
||||
}
|
||||
assert(1 == a);
|
||||
}
|
||||
~Tables()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue