#6557: fix bug in number field caching
---------------------------+------------------------------------------------
 Reporter:  was            |       Owner:  was       
     Type:  defect         |      Status:  new       
 Priority:  major          |   Milestone:  sage-4.1.1
Component:  number theory  |    Keywords:            
 Reviewer:                 |      Author:            
   Merged:                 |  
---------------------------+------------------------------------------------
 {{{
 Here are two independent Sage 4.1 sessions which demonstrate that the
 construction of NumberField's is context dependent:

        sage: K.<x> = CyclotomicField(5)[]
        sage: W.<a> = NumberField(x^2 + 1)
        sage: W
        Number Field in a with defining polynomial x^2 + 1 over its base
 field

        sage: W1 = NumberField(x^2+1,'a')
        sage: K.<x> = CyclotomicField(5)[]
        sage: W.<a> = NumberField(x^2 + 1)
        sage: W
        Number Field in a with defining polynomial x^2 + 1

 In fact:

        sage: W1 is W0
        True
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6557>
Sage <http://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