diff options
Diffstat (limited to 'src/algebra/ffpoly2.spad.pamphlet')
-rw-r--r-- | src/algebra/ffpoly2.spad.pamphlet | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/algebra/ffpoly2.spad.pamphlet b/src/algebra/ffpoly2.spad.pamphlet index 1271362a..0c76a98c 100644 --- a/src/algebra/ffpoly2.spad.pamphlet +++ b/src/algebra/ffpoly2.spad.pamphlet @@ -108,7 +108,7 @@ FiniteFieldPolynomialPackage2(F,GF):Exports == Implementation where h:=gcd(stillToFactor,trModp +$(SUP F) _ (index(j pretend PI)$GF::F::(SUP F)))$(SUP F) -- make the gcd polynomial monic - if leadingCoefficient(h)$(SUP F) ^= 1$F then + if leadingCoefficient(h)$(SUP F) ~= 1$F then h:= (inv leadingCoefficient(h)) * h degh:=degree(h)$(SUP F) degSTF:=degree(stillToFactor)$(SUP F) |