#17554: Unable to substitute univariant Laurent polynomial into usual polynomial
-------------------------+-------------------------------------------------
   Reporter:  tscrim     |            Owner:  tscrim
       Type:  defect     |           Status:  new
   Priority:  major      |        Milestone:  sage-6.5
  Component:             |         Keywords:  Laurent polynomial,
  commutative algebra    |  substitution
  Merged in:             |          Authors:
  Reviewers:             |  Report Upstream:  N/A
Work issues:             |           Branch:
     Commit:             |     Dependencies:
   Stopgaps:             |
-------------------------+-------------------------------------------------
 We can do
 {{{
 sage: R.<q> = QQ[]
 sage: p = q^4 + q^2 - 2*q + 3
 sage: L.<x,y> = LaurentPolynomialRing(QQ)
 sage: p(q=x)
 x^4 + x^2 - 2*x + 3
 }}}
 but if we change things to a univariate Laurent polynomial ring, we get:
 {{{
 sage: L.<x> = LaurentPolynomialRing(QQ)
 sage: p(q=x)
 ...
 IndexError: tuple index out of range
 }}}

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