diff options
Diffstat (limited to 'src/algebra/ffcg.spad.pamphlet')
-rw-r--r-- | src/algebra/ffcg.spad.pamphlet | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/algebra/ffcg.spad.pamphlet b/src/algebra/ffcg.spad.pamphlet index a2667c0f..212bc91b 100644 --- a/src/algebra/ffcg.spad.pamphlet +++ b/src/algebra/ffcg.spad.pamphlet @@ -185,7 +185,7 @@ FiniteFieldCyclicGroupExtensionByPolynomial(GF,defpol):_ void()$Void basis(n:PI) == - extensionDegree() rem n ^= 0 => + extensionDegree() rem n ~= 0 => error("argument must divide extension degree") m:=sizeCG quo (size()$GF**n-1) [index((1+i*m) ::PI) for i in 0..(n-1)]::Vector $ |