Changes between Version 1 and Version 2 of Ticket #13735, comment 14


Ignore:
Timestamp:
04/08/13 21:38:56 (9 years ago)
Author:
vittucek
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13735, comment 14

    v1 v2  
    11I am in the middle of bugfixing right now.
    22
    3 
    4 sage: R.<q> = ZZ[][[BR]]
    5 sage:  A2 = WeylCharacterRing(['A',2], base_ring = R, style="coroots")[[BR]]
    6 sage: [A2(x) for x in [-1]][[BR]]
     3{{{
     4sage: R.<q> = ZZ[]
     5sage:  A2 = WeylCharacterRing(['A',2], base_ring = R, style="coroots")
     6sage: [A2(x) for x in [-1]]
    77
    88[-1*A2(0,0)]
     9}}}
    910
    1011This is because the type of the coefficient -1 is sage.rings.polynomial.polynomial_integer_dense_flint.Polynomial_integer_dense_flint and the test c < 0 evaluates to False