aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/ffcg.spad.pamphlet
diff options
context:
space:
mode:
Diffstat (limited to 'src/algebra/ffcg.spad.pamphlet')
-rw-r--r--src/algebra/ffcg.spad.pamphlet4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/algebra/ffcg.spad.pamphlet b/src/algebra/ffcg.spad.pamphlet
index 1ed736db..b1ff6b98 100644
--- a/src/algebra/ffcg.spad.pamphlet
+++ b/src/algebra/ffcg.spad.pamphlet
@@ -264,7 +264,7 @@ FiniteFieldCyclicGroupExtensionByPolynomial(GF,defpol):_
- x:$ ==
zero? x => 0
- characteristic() =$I 2 => x
+ characteristic$% =$I 2 => x
addmod(x,shift(sizeCG,-1)$SI pretend Rep,sizeCG)
generator() == 1$SI
@@ -287,7 +287,7 @@ FiniteFieldCyclicGroupExtensionByPolynomial(GF,defpol):_
extensionDegree(): PositiveInteger == extdeg pretend PI
- characteristic() == characteristic()$GF
+ characteristic == characteristic$GF
lookup(x:$) ==
x =$Rep (-$Rep 1$Rep) => sizeFF pretend PI