aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/ffp.spad.pamphlet
diff options
context:
space:
mode:
Diffstat (limited to 'src/algebra/ffp.spad.pamphlet')
-rw-r--r--src/algebra/ffp.spad.pamphlet2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/algebra/ffp.spad.pamphlet b/src/algebra/ffp.spad.pamphlet
index 2d97d795..9b38f959 100644
--- a/src/algebra/ffp.spad.pamphlet
+++ b/src/algebra/ffp.spad.pamphlet
@@ -126,7 +126,7 @@ FiniteFieldExtensionByPolynomial(GF:FiniteFieldCategory,_
initializeElt: () -> Void
initializeLog: () -> Void
basis(n:PI) ==
- (extdeg rem n) ^= 0 => error "argument must divide extension degree"
+ (extdeg rem n) ~= 0 => error "argument must divide extension degree"
a:$:=norm(primitiveElement(),n)
vector [a**i for i in 0..n-1]