Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trac #15298: Two versions of QQ(sqrt{-1}) upon startup
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_quad ratic)] 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? URL: https://trac.sagemath.org/15298 Reported by: nbruin Ticket author(s): Frédéric Chapoton Reviewer(s): Ralf Stephan
- Loading branch information