#16836: __neg__ fails in CartesianProduct of CombinatorialFreeModule
-------------------------+-------------------------------------------------
       Reporter:         |        Owner:
  cnassau                |       Status:  needs_review
           Type:         |    Milestone:  sage-6.4
  defect                 |   Resolution:
       Priority:  major  |    Merged in:
      Component:         |    Reviewers:
  categories             |  Work issues:
       Keywords:         |       Commit:
        Authors:         |  756c053d4779fa90485b528c930d7e4538456cc0
  Christian Nassau       |     Stopgaps:
Report Upstream:  N/A    |
         Branch:         |
  u/cnassau/16836        |
   Dependencies:         |
-------------------------+-------------------------------------------------
Changes (by {'newvalue': u'Christian Nassau', 'oldvalue': ''}):

 * status:  new => needs_review
 * commit:   => 756c053d4779fa90485b528c930d7e4538456cc0
 * branch:   => u/cnassau/16836
 * author:   => Christian Nassau


Comment:

 the attached patch fixes the problem in the indicated way: the offending
 doctest has been removed.

 after all, the offendig behaviour (x in N, but -x not in N) is well known
 from the natural numbers, and not much of a problem.
 ----
 New commits:
 
||[http://git.sagemath.org/sage.git/commit/?id=11ba5af6a7c53bf58c6ea2dad080333e87cfbd26
 11ba5af]||{{{Ticket 16836: inversion was broken for cartesian products of
 CombinatorialFreeModules}}}||
 
||[http://git.sagemath.org/sage.git/commit/?id=756c053d4779fa90485b528c930d7e4538456cc0
 756c053]||{{{Ticket 16836: add doctest that negates an element of a
 cartesian product of CombinatorialFreeModules}}}||

--
Ticket URL: <http://trac.sagemath.org/ticket/16836#comment:2>
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/d/optout.

Reply via email to