Opened 8 years ago
Closed 7 years ago
#12350 closed defect (invalid)
ValueError when computing palindrome factors of a finite word
Reported by: | slabbe | Owned by: | slabbe |
---|---|---|---|
Priority: | major | Milestone: | sage-duplicate/invalid/wontfix |
Component: | combinatorics | Keywords: | |
Cc: | jdemeyer | Merged in: | |
Authors: | Reviewers: | Sébastien Labbé | |
Report Upstream: | N/A | Work issues: | |
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description
With sage-4.7.2, I get
sage: m = WordMorphism('a->ab,b->ba') sage: w = m.fixed_point('a') sage: pref = w[:50] sage: pref.palindromes() Traceback (most recent call last): ... ValueError: generator already executing
Change History (5)
comment:1 Changed 8 years ago by
comment:2 Changed 8 years ago by
- Cc jdemeyer added
The problem reported in this ticket is from a modification I made long time ago on my own install. Sorry for that.
Jeroen : This ticket should be closed as invalid.
comment:3 Changed 7 years ago by
- Milestone changed from sage-5.7 to sage-duplicate/invalid/wontfix
- Status changed from new to needs_review
comment:4 Changed 7 years ago by
- Status changed from needs_review to positive_review
Works for me as well on 5.5.rc0
:
sage: m = WordMorphism('a->ab,b->ba') sage: w = m.fixed_point('a') sage: pref = w[:50] sage: pref.palindromes() set([word: bbaabbabaabbaababbaabb, ...
comment:5 Changed 7 years ago by
- Resolution set to invalid
- Reviewers set to Sébastien Labbé
- Status changed from positive_review to closed
Note: See
TracTickets for help on using
tickets.
I found the problem and realized that it does work on a clean sage-4.7.2: