aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/lingrob.spad.pamphlet
diff options
context:
space:
mode:
Diffstat (limited to 'src/algebra/lingrob.spad.pamphlet')
-rw-r--r--src/algebra/lingrob.spad.pamphlet4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/algebra/lingrob.spad.pamphlet b/src/algebra/lingrob.spad.pamphlet
index 2cb3aca7..41956dea 100644
--- a/src/algebra/lingrob.spad.pamphlet
+++ b/src/algebra/lingrob.spad.pamphlet
@@ -115,7 +115,7 @@ LinGroebnerPackage(lv,F) : C == T
ofirstmon:DPoly:=1$DPoly
orecfmon:Record(poly:HDPoly, mult:F) := [1,1]
i:NNI:=2
- while (firstmon:=choosemon(firstmon,ltresult))~=1 repeat
+ while not one?(firstmon:=choosemon(firstmon,ltresult)) repeat
if (v:=firstmon exquo ofirstmon) case "failed" then
recfmon:=rRedPol(transform firstmon,B)
else
@@ -274,7 +274,7 @@ LinGroebnerPackage(lv,F) : C == T
ofirstmon:DPoly:=1$DPoly
orecfmon:Record(poly:HDPoly, mult:F) := [1,1]
lx:= lvar.last
- while (firstmon:=choosemon(firstmon,ltresult))~=1 repeat
+ while not one?(firstmon:=choosemon(firstmon,ltresult)) repeat
if (v:=firstmon exquo ofirstmon) case "failed" then
recfmon:=rRedPol(transform(eval(firstmon,lx,nval)),B)
else