diff options
Diffstat (limited to 'src/algebra/wtpol.spad.pamphlet')
-rw-r--r-- | src/algebra/wtpol.spad.pamphlet | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/algebra/wtpol.spad.pamphlet b/src/algebra/wtpol.spad.pamphlet index fd370f3a..6f3dca56 100644 --- a/src/algebra/wtpol.spad.pamphlet +++ b/src/algebra/wtpol.spad.pamphlet @@ -71,7 +71,7 @@ WeightedPolynomials(R:Ring,VarSet: OrderedSet, E:OrderedAbelianMonoidSup, l:=l.rest 0 innercoerce(p,z) == - z<0 => 0 + negative? z => 0 zero? p => 0 mv:= mainVariable p mv case "failed" => monomial(p,0) |