#7119: Redundant minus sign in PolyDict polynomial
------------------------------+---------------------------------------------
Reporter: klee | Owner: Kwankyu Lee
Type: defect | Status: new
Priority: minor | Milestone: sage-4.1.3
Component: basic arithmetic | Keywords:
Reviewer: | Author:
Merged: |
------------------------------+---------------------------------------------
There is a tiny bug in the polydict implementation of multivariate
polynomial ring.
{{{
sage: from sage.rings.polynomial.multi_polynomial_ring import
MPolynomialRing_polydict
sage: R.<x,y>=MPolynomialRing_polydict(GF(2),2,order='lex')
sage: R
Multivariate Polynomial Ring in x, y over Finite Field of size 2
sage: f=x+y
sage: f.lt()
-x
sage: f.lm()
-x
}}}
The minus sign in "-x" is redundant
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7119>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---