#17441: Change ring fails for SchemeMorphism_polynomial defined with fraction
field
elements
-------------------------------------+-------------------------------------
Reporter: gjorgenson | Owner:
Type: defect | Status: needs_review
Priority: minor | Milestone: sage-6.5
Component: algebraic | Resolution:
geometry | Merged in:
Keywords: | Reviewers:
Authors: Grayson Jorgenson | Work issues:
Report Upstream: N/A | Commit:
Branch: | 51a7d2f9c74e9b79a9f2822efcdf6d8deac028a3
u/gjorgenson/ticket/17441 | Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Description changed by gjorgenson:
Old description:
> If a SchemeMorphism_polynomial is defined with fraction field elements,
> change ring fails; in that case, change_ring should be called on the
> numerator and denominator:
>
> {{{
> A.<x,y>=AffineSpace(QQ,2)
> H=Hom(A,A)
> f=H([3*x^2/y,y^2/x])
> f.change_ring(RR)
> }}}
New description:
If a SchemeMorphism_polynomial is defined with fraction field elements,
change ring fails; in that case, change_ring should be called on the
numerator and denominator:
{{{
A.<x,y> = AffineSpace(QQ,2)
H = Hom(A,A)
f = H([3*x^2/y,y^2/x])
f.change_ring(RR)
}}}
--
--
Ticket URL: <http://trac.sagemath.org/ticket/17441#comment:3>
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.