#15298: Two versions of QQ(sqrt{-1}) upon startup
-----------------------+-----------------------------
   Reporter:  nbruin   |            Owner:
       Type:  defect   |           Status:  new
   Priority:  trivial  |        Milestone:  sage-5.13
  Component:  misc     |         Keywords:
  Merged in:           |          Authors:
  Reviewers:           |  Report Upstream:  N/A
Work issues:           |           Branch:
     Commit:           |     Dependencies:
   Stopgaps:           |
-----------------------+-----------------------------
 We have two copies upon startup:
 {{{
 sage: import gc
 sage: Ks=[K for K in gc.get_objects() if
 ....:
 isinstance(K,sage.rings.number_field.number_field.NumberField_quadratic)]
 sage: [latex(k.0) for k in Ks]
 [i, \sqrt{-1}]
 }}}
 I suspect they are coming from
 `symbolic/pynac.pyx:2046 (in init_pynac_I)`
 {{{
     K = QuadraticField(-1, 'I', embedding=CC.gen(), latex_name='i')
 }}}
 and from `rings/qqbar.py:7699 (in _init_qqbar)`
 {{{
     QQbar_I_nf = QuadraticField(-1, 'I', embedding=CC.gen())
 }}}
 Should we perhaps both give them the same latex name so that these can be
 the same field?

--
Ticket URL: <http://trac.sagemath.org/ticket/15298>
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.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to