#18221: x / 2 doesn't work for x generator of free Q-algebra
-------------------------------------+-------------------------------------
Reporter: darij | Owner:
Type: defect | Status: needs_review
Priority: major | Milestone: sage-6.7
Component: coercion | Resolution:
Keywords: coercion, sd67, | Merged in:
Authors: Travis Scrimshaw | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
public/coercion/fix_actions-18221 | dce923e806cdd021b1b0f5a427870cf76f7bed6e
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Changes (by {'newvalue': u'Travis Scrimshaw', 'oldvalue': ''}):
* status: new => needs_review
* commit: => dce923e806cdd021b1b0f5a427870cf76f7bed6e
* branch: => public/coercion/fix_actions-18221
* author: => Travis Scrimshaw
Comment:
Okay, #17740 is the culprit. What happens is it doesn't add the coercion
from `ZZ -> QQ` which was originally in this line:
{{{
action = PrecomposedAction(action, None, K._internal_coerce_map_from(S))
}}}
----
New commits:
||[http://git.sagemath.org/sage.git/commit/?id=dce923e806cdd021b1b0f5a427870cf76f7bed6e
dce923e]||{{{Fixing cases when the action should also precompose with a
coercion.}}}||
--
Ticket URL: <http://trac.sagemath.org/ticket/18221#comment:9>
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.