#5214: [fixed by #5508] coercion to orders in relative number fields is not
implemented
---------------------------+------------------------------------------------
 Reporter:  ncalexan       |       Owner:  was                                 
     Type:  defect         |      Status:  new                                 
 Priority:  minor          |   Milestone:  sage-3.4.1                          
Component:  number theory  |    Keywords:  relative order number field coercion
---------------------------+------------------------------------------------

Comment(by fwclarke):

 Replying to [comment:3 mabshoff]:
 > To close this we would need a doctest.

 See lines 1194 to 1199 of sage/rings/number_field/order.py as patched by
 #5508:
 {{{
             sage: K.<a, b> = NumberField([x^2 + 2, x^2 + 1000*x + 1])
             sage: OK = K.ring_of_integers()
             sage: OK(a)
             sage: a
             sage: OK([3, 4])
             4*a + 3
 }}}

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