Changes between Version 1 and Version 2 of Ticket #22297, comment 25


Ignore:
Timestamp:
03/31/17 12:27:04 (4 years ago)
Author:
chapoton
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22297, comment 25

    v1 v2  
    1010QuadraticField(-11, 'a') is QuadraticField(-11, 'a')
    1111}}}
     12In turn, this seems to come from problems in RealLazyField.
     13{{{
     14from sage.rings.number_field.number_field import NumberFieldFactory
     15nff = NumberFieldFactory("number_field_factory")
     16sage: R.<x> = QQ[]
     17a1=nff.create_object(None, (QQ, x^2 -2, ('a',), RLF(sqrt(2)), None, None, False, None), check=False)
     18a2=nff.create_object(None, (QQ, x^2 -2, ('a',), RLF(sqrt(2)), None, None, False, None), check=False)
     19a1 == a2
     20}}}
     21where the failure of equality comes from the RLF terms.