#4965: [with patch, needs work] Z/nZ[x] via FLINT's zmod_poly
------------------------------+---------------------------------------------
Reporter: malb | Owner: somebody
Type: defect | Status: new
Priority: major | Milestone: sage-3.4
Component: basic arithmetic | Resolution:
Keywords: |
------------------------------+---------------------------------------------
Comment (by cremona):
Here's what is causing the problem in the ell_number_field.py test:
If F is a field of 3 elements, b=F(0), then b.nth_root(0) gives an error:
{{{
sage: K.<a>=NumberField(x^2-x+3)
sage: F=K.residue_field(a); F; F.order()
Residue field of Fractional ideal (a)
3
sage: b=F(0); b
0
sage: b.nth_root(3)
ValueError: factorization of 0 not defined
}}}
The nth_root() function being called here is at fault, but that's as far
as I got.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4965#comment:12>
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
-~----------~----~----~----~------~----~------~--~---