aboutsummaryrefslogtreecommitdiff
path: root/src/algebra
diff options
context:
space:
mode:
Diffstat (limited to 'src/algebra')
-rw-r--r--src/algebra/triset.spad.pamphlet8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/algebra/triset.spad.pamphlet b/src/algebra/triset.spad.pamphlet
index 50b56350..78312236 100644
--- a/src/algebra/triset.spad.pamphlet
+++ b/src/algebra/triset.spad.pamphlet
@@ -1365,11 +1365,9 @@ PolynomialSetUtilitiesPackage (R,E,V,P) : Exports == Implementation where
while not empty? toSee repeat
b := first toSee
toSee := rest toSee
- if not infRittWu?(b,a)
- then
- (c,d) := (a,b)
- else
- (c,d) := (b,a)
+ (c,d) :=
+ not infRittWu?(b,a) => (a,b)
+ (b,a)
rrf := unprotectedRemoveRedundantFactors(c,d)
empty? rrf => error"in removeRedundantFactors : (LP,P) -> LP from PSETPK"
c := first rrf