#5468: matrix creation over laurent polynomial rings
---------------------------------+------------------------------------------
 Reporter:  wuthrich             |       Owner:  malb      
     Type:  defect               |      Status:  new       
 Priority:  major                |   Milestone:  sage-3.4.1
Component:  commutative algebra  |    Keywords:            
---------------------------------+------------------------------------------
 {{{
 A.<Y> = QQ[]
 R.<X> = LaurentPolynomialRing(A)
 matrix(R,2,2,[X,0,0,1])
 }}}
 gives a
 {{{
 TypeError: Unable to coerce X (<type
 'sage.rings.polynomial.laurent_polynomial.LaurentPolynomial_mpair'>) to
 Rational
 }}}

 The same problem occurs with `LaurentSeriesRing`, but not with
 `PowerSeriesRing`.

 I have not tried to chase where the problem actually comes from.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5468>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to