#18654: reduce Integer 0 in letterplace FreeAlgebra
-------------------------------+----------------------------
       Reporter:  nantel       |        Owner:
           Type:  enhancement  |       Status:  needs_review
       Priority:  trivial      |    Milestone:  sage-6.8
      Component:  algebra      |   Resolution:
       Keywords:               |    Merged in:
        Authors:               |    Reviewers:
Report Upstream:  N/A          |  Work issues:
         Branch:               |       Commit:
   Dependencies:               |     Stopgaps:
-------------------------------+----------------------------
Changes (by SimonKing):

 * status:  new => needs_review


Comment:

 Now I understand what you mean.

 That's clearly not a bug. If you do
 {{{
 Q=0
 Q.reduce(G)
 }}}
 then Q is an Integer. When you do `Q.reduce`, you will find that an
 integer has no reduce method. The reduce method is for free algebra
 elements, and integers is something totally different. That's how object
 oriented programming languages such as Python work.

--
Ticket URL: <http://trac.sagemath.org/ticket/18654#comment:1>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to