#5684: [with patch, needs review] Taking negative powers of Laurent polynomial
throws exception
---------------------+------------------------------------------------------
 Reporter:  wjp      |       Owner:  tbd       
     Type:  defect   |      Status:  new       
 Priority:  major    |   Milestone:  sage-3.4.1
Component:  algebra  |    Keywords:            
---------------------+------------------------------------------------------
 Taking negative powers of a Laurent polynomial doesn't currently work due
 to a typo in LaurentPolynomial_mpair.__pow__(). The attached patch fixes
 this.

 {{{
 sage: F.<t> = LaurentPolynomialRing(GF(3))
 sage: (1+t)^(-1)
 TypeError: fraction_field() takes no arguments (1 given)
 }}}

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