diff options
Diffstat (limited to 'src/algebra/expr.spad.pamphlet')
-rw-r--r-- | src/algebra/expr.spad.pamphlet | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/algebra/expr.spad.pamphlet b/src/algebra/expr.spad.pamphlet index 93324931..b781f423 100644 --- a/src/algebra/expr.spad.pamphlet +++ b/src/algebra/expr.spad.pamphlet @@ -257,7 +257,7 @@ Expression(R:OrderedSet): Exports == Implementation where noalg?: SUP % -> Boolean noalg? p == - while p ^= 0 repeat + while p ~= 0 repeat not empty? algkernels kernels leadingCoefficient p => return false p := reductum p true @@ -810,7 +810,7 @@ Pi(): Exports == Implementation where p2p p == ans:PZ := 0 - while p ^= 0 repeat + while p ~= 0 repeat ans := ans + monomial(leadingCoefficient(p)::PZ, sympi, degree p) p := reductum p ans |