#19631: reduced_word breaks for automatic_monoids if not initialised
-----------------------------+--------------------------------------------
Reporter: hivert | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-6.10
Component: combinatorics | Keywords: submonoids, reduced word
Merged in: | Authors: Florent Hivert
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
-----------------------------+--------------------------------------------
The following should work:
{{{
sage: from sage.monoids.automatic_semigroup import AutomaticSemigroup
sage: R = IntegerModRing(101)
sage: M = AutomaticSemigroup(Family({1: R(3), 2: R(5)}), one=R.one())
sage: sage: sage: e = M.from_reduced_word([1, 1, 1, 2, 2, 2])
sage: e.reduced_word()
---------------------------------------------------------------------------
AttributeError Traceback (most recent call
last)
[...]
AttributeError: 'AutomaticMonoid_with_category.element_class' object has
no attribute 'construct'
}}}
I'm uploading a fix.
--
Ticket URL: <http://trac.sagemath.org/ticket/19631>
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.