#11128: Limit case bug for conjugate_position in words
-----------------------------+----------------------------------------------
Reporter: slabbe | Owner: slabbe
Type: defect | Status: new
Priority: major | Milestone: sage-4.7
Component: combinatorics | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-----------------------------+----------------------------------------------
As pointed out by Alessandro De Luca on [http://groups.google.com/group
/sage-combinat-devel/browse_thread/thread/b6477d86e57b5e44 sage-combinat-
devel], there is a bug in the {{{conjugate_position}}} method for finite
words:
{{{
sage: w = Word([0,0,1,0,2,1])
sage: [w.conjugate(i).conjugate_position(w) for i in range(6)]
[0, 1, 2, 3, 4, None]
}}}
Allessandro also said:
{{{
This bug has consequences on other functions in the combinatorics on
words package: for instance, you get
sage: Word('abaa').is_conjugate_with(Word('aaba'))
True
sage: Word('aaba').is_conjugate_with(Word('abaa'))
False
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11128>
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.