diff options
Diffstat (limited to 'src/algebra/regset.spad.pamphlet')
-rw-r--r-- | src/algebra/regset.spad.pamphlet | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/algebra/regset.spad.pamphlet b/src/algebra/regset.spad.pamphlet index 3bb55e90..262a9789 100644 --- a/src/algebra/regset.spad.pamphlet +++ b/src/algebra/regset.spad.pamphlet @@ -977,7 +977,7 @@ RegularTriangularSetGcdPackage(R,E,V,P,TS): Exports == Implementation where ts := lpwt.tower lbwt := toseInvertible?(leadingCoefficient(p2,v),ts)@(List BWT) for bwt in lbwt repeat - (bwt.val = true) and (degree(p2,v) > 0) => + (bwt.val = true) and positive? degree(p2,v) => p3 := prem(p1, -p2) s: P := init(p2)**(mdeg(p1) - mdeg(p2))::N toSave := cons([[p2,p3,s],bwt.tower]$LpWT,toSave) |