aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/modmon.spad.pamphlet
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2008-04-03 04:23:42 +0000
committerdos-reis <gdr@axiomatics.org>2008-04-03 04:23:42 +0000
commit001e19b08ba7fb1b9e6f6bdb44a82ba3db3fc532 (patch)
treeda9e2fe5d81ff4cd7709d12e44b8c3e348b8a8e3 /src/algebra/modmon.spad.pamphlet
parenta7bab9a6c2070d05e2dbd256ce455079c8ced385 (diff)
downloadopen-axiom-001e19b08ba7fb1b9e6f6bdb44a82ba3db3fc532.tar.gz
Replace `^=' with `~='.
Diffstat (limited to 'src/algebra/modmon.spad.pamphlet')
-rw-r--r--src/algebra/modmon.spad.pamphlet4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/algebra/modmon.spad.pamphlet b/src/algebra/modmon.spad.pamphlet
index cc8bebec..0d4241e2 100644
--- a/src/algebra/modmon.spad.pamphlet
+++ b/src/algebra/modmon.spad.pamphlet
@@ -75,7 +75,7 @@ ModMonic(R,Rep): C == T
setPoly (mon : Rep) ==
mon =$Rep m => mon
oldm := m
- leadingCoefficient mon ^= 1 => error "polynomial must be monic"
+ leadingCoefficient mon ~= 1 => error "polynomial must be monic"
-- following copy code needed since FFPOLY can modify mon
copymon:Rep:= 0
while not zero? mon repeat
@@ -141,7 +141,7 @@ ModMonic(R,Rep): C == T
frobenius(a:%):% ==
aq:% := 0
- while a^=0 repeat
+ while a~=0 repeat
aq:= aq + leadingCoefficient(a)*frobeniusPower(degree a)
a := reductum a
aq