#5921: [with patch, needs work] factoring integer polynomials does not factor 
the
content
---------------------+------------------------------------------------------
 Reporter:  cremona  |       Owner:  tbd     
     Type:  defect   |      Status:  new     
 Priority:  major    |   Milestone:  sage-4.0
Component:  algebra  |    Keywords:          
---------------------+------------------------------------------------------

Comment(by AlexGhitza):

 Replying to [comment:10 mabshoff]:
 > These two patches break
 > {{{
 > sage -t -long devel/sage/sage/modular/overconvergent/genus0.py
 > }}}
 >

 This is due to a bug in p-adics, more precisely in the content method for
 p-adic polynomials:

 {{{
 sage: P.<x> = ZZ[]
 sage: f = x + 2
 sage: f.content()
 1
 sage: fp = f.change_ring(pAdicField(2, 10))
 sage: fp
 (1 + O(2^10))*x + (2 + O(2^11))
 sage: fp.content()
 0
 }}}

 I have checked and the monster p-adic patch bomb at #5778 doesn't help
 with this.  I'll see what we can do.

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