#7773: Test failures with Fedora 12 on intel i7 860 processor
----------------------+-----------------------------------------------------
   Reporter:  jsp     |       Owner:  zimmerma  
       Type:  defect  |      Status:  new       
   Priority:  major   |   Milestone:  sage-4.3.4
  Component:  build   |    Keywords:            
     Author:          |    Upstream:  N/A       
   Reviewer:          |      Merged:            
Work_issues:          |  
----------------------+-----------------------------------------------------

Comment(by zimmerma):

 > You should be able to use the impl keyword to GF to get other
 implementations.

 I wasn't able to find how to use the {{{impl}}} keyword, but with the
 following it works:
 {{{
 ----------------------------------------------------------------------
 | Sage Version 4.3.3, Release Date: 2010-02-21                       |
 | Type notebook() for the GUI, and license() for information.        |
 ----------------------------------------------------------------------
 Loading Sage library. Current Mercurial branch is: 7993
 sage: F = sage.rings.finite_field_ntl_gf2e.FiniteField_ntl_gf2e
 sage: H = Hom(F(32, 'a'), F(1024, 'b'))
 sage: D = H.domain()
 sage: C = H.codomain()
 sage: f = D.modulus()
 sage: g = C['x'](f)
 sage: r = g.roots()
 sage: r = [r[0]]
 sage: print r[0][0]
 b^4 + b^3 + b
 sage: D.hom(r[0][0], C)
 Ring morphism:
   From: Finite Field in a of size 2^5
   To:   Finite Field in b of size 2^10
   Defn: a |--> b^4 + b^3 + b
 sage: quit
 Exiting SAGE (CPU time 0m0.25s, Wall time 0m3.09s).
 [zimme...@coing ~]$
 }}}
 No SegFault occurs with NTL, which shows the problem is linked with
 Givaro.

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