Changes between Version 12 and Version 13 of Ticket #18251


Ignore:
Timestamp:
07/29/16 15:07:54 (6 years ago)
Author:
jdemeyer
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18251

    • Property Summary changed from CombinatorialFreeModule: fix comparison with zero to CombinatorialFreeModule: fix arithmetic/comparison with base ring zero
  • Ticket #18251 – Description

    v12 v13  
    11Currently we have the following in Sage:
     2{{{
     3sage: C = CombinatorialFreeModule(QQ, ['a','b'])
     4sage: C(0) + ZZ(0)
     50
     6sage: C(0) + QQ(0)
     7TypeError: unsupported operand parent(s) for '+': 'Free module generated by {'a', 'b'} over Rational Field' and 'Rational Field'
     8}}}
     9and also
    210{{{
    311sage: C = CombinatorialFreeModule(QQ, ['a','b'])