aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/wtpol.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/wtpol.spad.pamphlet
parenta7bab9a6c2070d05e2dbd256ce455079c8ced385 (diff)
downloadopen-axiom-001e19b08ba7fb1b9e6f6bdb44a82ba3db3fc532.tar.gz
Replace `^=' with `~='.
Diffstat (limited to 'src/algebra/wtpol.spad.pamphlet')
-rw-r--r--src/algebra/wtpol.spad.pamphlet4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/algebra/wtpol.spad.pamphlet b/src/algebra/wtpol.spad.pamphlet
index c3ee8d28..af1414e0 100644
--- a/src/algebra/wtpol.spad.pamphlet
+++ b/src/algebra/wtpol.spad.pamphlet
@@ -55,14 +55,14 @@ WeightedPolynomials(R:Ring,VarSet: OrderedSet, E:OrderedAbelianMonoidSup,
changeWeightLevel(n) ==
wtlevel:=n
lookupList:List Record(var:VarSet, weight:NonNegativeInteger)
- if #vl ^= #wl then error "incompatible length lists in WeightedPolynomial"
+ if #vl ~= #wl then error "incompatible length lists in WeightedPolynomial"
lookupList:=[[v,n] for v in vl for n in wl]
-- local operation
innercoerce:(p,z) -> $
lookup:Varset -> NonNegativeInteger
lookup v ==
l:=lookupList
- while l ^= [] repeat
+ while l ~= [] repeat
v = l.first.var => return l.first.weight
l:=l.rest
0