#7931: Improved nth root for finite fields and integer_mods
-------------------------------+--------------------------------------------
   Reporter:  roed             |       Owner:  roed                   
       Type:  enhancement      |      Status:  needs_info             
   Priority:  major            |   Milestone:  sage-4.6               
  Component:  algebra          |    Keywords:  finite fields, nth root
     Author:  David Roe        |    Upstream:  N/A                    
   Reviewer:  Paul Zimmermann  |      Merged:                         
Work_issues:                   |  
-------------------------------+--------------------------------------------
Changes (by zimmerma):

  * status:  needs_review => needs_info
  * reviewer:  => Paul Zimmermann


Comment:

 I tried applying both patches in sage-4.6.alpha1, but got a failure when
 running sage -br:
 {{{
 python `which cython` --embed-positions --directive cdivision=True
 -I/tmp/sage-4.6.alpha1/devel/sage-7931 -o
 sage/rings/finite_rings/element_ntl_gf2e.cpp
 sage/rings/finite_rings/element_ntl_gf2e.pyx

 Error converting Pyrex file to C:
 ------------------------------------------------------------
 ...
         if PY_TYPE_CHECK(e, int) \
                or PY_TYPE_CHECK(e, long) or PY_TYPE_CHECK(e, Integer):
             GF2E_conv_long(res.x,int(e))
             return res

         if PY_TYPE_CHECK(e, FiniteFieldElement) or \
                                              ^
 ------------------------------------------------------------

 
/tmp/sage-4.6.alpha1/devel/sage-7931/sage/rings/finite_rings/element_ntl_gf2e.pyx:515:46:
 undeclared name not builtin: FiniteFieldElement
 Error running command, failed with status 256.
 sage: There was an error installing modified sage library code.
 }}}
 Which version was used to produce the patches?

 Paul

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