diff options
Diffstat (limited to 'src/algebra/ffhom.spad.pamphlet')
-rw-r--r-- | src/algebra/ffhom.spad.pamphlet | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/algebra/ffhom.spad.pamphlet b/src/algebra/ffhom.spad.pamphlet index 50bf7ef1..6195d5b6 100644 --- a/src/algebra/ffhom.spad.pamphlet +++ b/src/algebra/ffhom.spad.pamphlet @@ -98,7 +98,7 @@ FiniteFieldHomomorphisms(F1,GF,F2): Exports == Implementation where -- a necessary condition for the one field being an subfield of -- the other one is, that the respective extension degrees are -- multiples - if max(degree1,degree2) rem min(degree1,degree2) ^= 0 then + if max(degree1,degree2) rem min(degree1,degree2) ~= 0 then error "FFHOM: one extension degree must divide the other one" conMat1to2:M:= zero(degree2,degree1)$M @@ -349,7 +349,7 @@ FiniteFieldHomomorphisms(F1,GF,F2): Exports == Implementation where -- whether the element is in the subfield of the 'bigger' field, which -- corresponds to the 'smaller' field if degree1 > degree2 then - if positiveRemainder(degree2,degree(x)$F1)^= 0 then + if positiveRemainder(degree2,degree(x)$F1)~= 0 then error "coerce: element doesn't belong to smaller field" represents(conMat1to2 *$(Matrix GF) coordinates(x)$F1)$F2 @@ -381,7 +381,7 @@ FiniteFieldHomomorphisms(F1,GF,F2): Exports == Implementation where convertWRTdifferentDefPol21(x:F2) == if init? then initialize() if degree2 > degree1 then - if positiveRemainder(degree1,degree(x)$F2)^= 0 then + if positiveRemainder(degree1,degree(x)$F2)~= 0 then error "coerce: element doesn't belong to smaller field" represents(conMat2to1 *$(Matrix GF) coordinates(x)$F2)$F1 |