#8335: Finite Field lattices
-------------------------------+--------------------------------------------
       Reporter:  roed         |         Owner:  AlexGhitza
           Type:  enhancement  |        Status:  needs_info
       Priority:  major        |     Milestone:  sage-5.8  
      Component:  algebra      |    Resolution:            
       Keywords:               |   Work issues:            
Report Upstream:  N/A          |     Reviewers:            
        Authors:  David Roe    |     Merged in:            
   Dependencies:               |      Stopgaps:            
-------------------------------+--------------------------------------------

Comment (by jpflori):

 I think I got the infinite loop.

 During the initialization of the quotient ring, when trying to create the
 "one" element from the quotient ring of integer mod 1 quotiented by
 something, it tries to compute a remainder in
 polynomial_quotient_ring_element.py: "polynomial %= f" around line 137 but
 the mod operation is not defined for the Polynomial_ring_dense class, so
 this raises an AttributeError and falls back to the fallback
 implementation which tries to compute 0^0 which now tries to create 1
 which is looked up for at the position 1 of a table of precomputed value
 of length the modulus+1 = 1 which is surely non sense, fails to create a
 IntegerrMod_int and raises a TypeError which gets caught in
 polynomial_quotient_ring.py around line 430 and loops...

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8335#comment:27>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

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


Reply via email to