Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed point of word morphism is broken on some tuple input #8595

Closed
seblabbe opened this issue Mar 24, 2010 · 7 comments
Closed

Fixed point of word morphism is broken on some tuple input #8595

seblabbe opened this issue Mar 24, 2010 · 7 comments

Comments

@seblabbe
Copy link
Contributor

From sage-combinat-devel group :


2010/3/23 Vincent Delecroix
> Hi,
>
> I tried the following and get an unexpected error
>
> {{{
> sage: s = WordMorphism({'a1': ['a1','a2'], 'a2':['a1']})
> sage: s.fixed_point('a1')
> Traceback
> ...
> KeyError: 'a'
> }}}
>
> and it does the same for tuples
>
> {{{
> sage: s = WordMorphism({('a', 1) : [('a', 1), ('a', 2)], ('a', 2) : [('a', 1)]})
> sage: s.fixed_point(('a', 1))
> Traceback
> ...
> KeyError: 'a'
> }}}
>
> Is it a bug or not the right way to do ?
>
> (On this example it looks strange but I really need product alphabet)
>
> Cheers,
> Vincent

CC: @videlec

Component: combinatorics

Author: Sébastien Labbé

Reviewer: Vincent Delecroix

Merged: sage-4.4.alpha0

Issue created by migration from https://trac.sagemath.org/ticket/8595

@seblabbe seblabbe added this to the sage-4.4 milestone Mar 24, 2010
@seblabbe seblabbe self-assigned this Mar 24, 2010
@seblabbe
Copy link
Contributor Author

Attachment: trac_8595_fixed_point-sl.patch.gz

@videlec
Copy link
Contributor

videlec commented Mar 25, 2010

comment:3

The bug seems to be resolved by the patch! Great.

@videlec
Copy link
Contributor

videlec commented Mar 25, 2010

Reviewer: vdelecroix

@jhpalmieri
Copy link
Member

Changed reviewer from vdelecroix to Vincent Delecroix

@jhpalmieri
Copy link
Member

Author: Sébastien Labbé

@jhpalmieri
Copy link
Member

comment:4

Merged "trac_8595_fixed_point-sl.patch" in 4.4.alpha0.

@jhpalmieri
Copy link
Member

Merged: sage-4.4.alpha0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants