#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 malb):

 {{{
 File ".../sage/schemes/elliptic_curves/ell_number_field.py", line 728:
     sage: EllipticCurve([1 + a , -1 + a , 1 + a , -11 + a , 5 -9*a
 ]).conductor()
 Exception raised:
     Traceback (most recent call last):
       File ".../sage/schemes/elliptic_curves/ell_number_field.py", line
 747, in conductor
         for d in self.local_data()],\
       File ".../sage/schemes/elliptic_curves/ell_number_field.py", line
 396, in local_data
         return [self._get_local_data(pr, proof) for pr in primes]
       File ".../sage/schemes/elliptic_curves/ell_number_field.py", line
 418, in _get_local_data
         self._local_data[P] = EllipticCurveLocalData(self, P, proof)
       File ".../schemes/elliptic_curves/ell_local_data.py", line 140, in
 __init__
         self._Emin, ch, self._val_disc, self._fp, self._KS, self._cp,
 self._split = self._tate(proof)
       File ".../sage/schemes/elliptic_curves/ell_local_data.py", line 520,
 in _tate
         r = proot(-b6, 3)
       File ".../sage/schemes/elliptic_curves/ell_local_data.py", line 451,
 in <lambda>
         proot = lambda x,e: F.lift(F(x).nth_root(e, extend = False, all =
 True)[0])
       File "integer_mod.pyx", line 855, in
 sage.rings.integer_mod.IntegerMod_abstract.nth_root
 (sage/rings/integer_mod.c:7712)
       File "polynomial_element.pyx", line 3715, in
 sage.rings.polynomial.polynomial_element.Polynomial.roots
 (sage/rings/polynomial/polynomial_element.c:24924)
       File "polynomial_element.pyx", line 2096, in
 sage.rings.polynomial.polynomial_element.Polynomial.factor
 (sage/rings/polynomial/polynomial_element.c:15667)
     ValueError: factorization of 0 not defined
 }}}

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