mirror of
https://github.com/aicodix/code.git
synced 2026-04-27 14:30:36 +00:00
test if minpoly is bigger than zero
This commit is contained in:
parent
42ff499e23
commit
661f69efae
1 changed files with 1 additions and 0 deletions
|
|
@ -27,6 +27,7 @@ public:
|
|||
for (int i = 1; i < G; ++i)
|
||||
generator[i] = 0;
|
||||
for (auto m: minimal_polynomials) {
|
||||
assert(0 < m);
|
||||
int m_degree = 0;
|
||||
while (m>>m_degree)
|
||||
++m_degree;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue