#8674: Comparison of combinatorial class of words with word paths is broken
-----------------------------+----------------------------------------------
Reporter: slabbe | Owner: slabbe
Type: defect | Status: needs_info
Priority: major | Milestone: sage-4.4
Component: combinatorics | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-----------------------------+----------------------------------------------
Changes (by abmasse):
* status: needs_review => needs_info
Comment:
I understand that you want to correct the function `is_endormorphism`, but
there is something strange about combinatorial class comparison.
For instance, I get the following:
{{{
sage: Words('ab') == WordPaths('ab')
False
sage: Words('ab') <= WordPaths('ab')
True
sage: Words('ab') >= WordPaths('ab')
False
}}}
Wouldn't we want
{{{
sage: Words('ab') == WordPaths('ab')
True
}}}
or is there something I miss ?
If it is a problem, maybe it's not necessary to fix the `__eq__` operator
now but do it in another ticket, but since you're at it...
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8674#comment:3>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.