#16834: Change ring fails for affine morphisms.
-------------------------------------+-------------------------------------
       Reporter:  gjorgenson         |        Owner:  gjorgenson
           Type:  defect             |       Status:  needs_review
       Priority:  minor              |    Milestone:  sage-6.4
      Component:  algebraic          |   Resolution:
  geometry                           |    Merged in:
       Keywords:                     |    Reviewers:  Ben Hutz
        Authors:                     |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:                     |  0a29b1b9788b97fa7bbd20d9443afe7118be673a
  u/gjorgenson/ticket/16834          |     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------
Description changed by gjorgenson:

Old description:

> When calling the change ring function on affine morphisms an index out of
> bounds error occurs:
>
> {{{
>
> sage: A.<x> = AffineSpace(QQ,1)
> sage: h = Hom(A,A)
> sage: f = h([1])
> sage: f.change_ring(ZZ)
>
> }}}

New description:

 When calling the change ring function on affine morphisms an index out of
 bounds error occurs:

 {{{

  sage: A.<x,y,z> = AffineSpace(RR,3)
  sage: h = Hom(A,A)
  sage: f = h([x^2+1.5,y^3,z^5-2.0])
  sage: f.change_ring(CC)

 }}}

--

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