#18221: x / 2 doesn't work for x generator of free Q-algebra
-----------------------------------+------------------------
       Reporter:  darij            |        Owner:
           Type:  defect           |       Status:  new
       Priority:  major            |    Milestone:  sage-6.7
      Component:  coercion         |   Resolution:
       Keywords:  coercion, sd67,  |    Merged in:
        Authors:                   |    Reviewers:
Report Upstream:  N/A              |  Work issues:
         Branch:                   |       Commit:
   Dependencies:                   |     Stopgaps:
-----------------------------------+------------------------

Comment (by SimonKing):

 Note that in the error message it says:
 {{{
 RuntimeError: There is a BUG in the coercion model:
                 Action found for R <built-in function div> S does not have
 the correct domains
                 R = Free Algebra on 1 generators (x,) over Rational Field
                 S = Integer Ring
                 (should be Free Algebra on 1 generators (x,) over Rational
 Field, Rational Field)
 }}}
 Hence, for a change we do not have the problem of non-unique unique
 parents or parents that have prematurely been garbage collected, but we
 have a genuinely wrong domain. The coercion model expects rational field
 but gets integer ring.

--
Ticket URL: <http://trac.sagemath.org/ticket/18221#comment:6>
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