#12867: random_element for Words is broken
-------------------------+-------------------------------------------------
Reporter: | Owner: sage-combinat
AlexGhitza | Status: needs_review
Type: | Milestone: sage-6.1
defect | Resolution:
Priority: major | Merged in:
Component: | Reviewers:
combinatorics | Work issues:
Keywords: | Commit:
Authors: | df4cab0a9e03d2fadd3b714100ede7c52c3fb0ef
Report Upstream: N/A | Stopgaps:
Branch: |
u/ncohen/12867 |
Dependencies: |
-------------------------+-------------------------------------------------
Comment (by ncohen):
I fixed this, as well as the broken doctests reported by the patchbot in
`sage/categories/modules_with_basis.py` and
`sage/algebras/shuffle_algebra.py`.
The first one has been fixed with Darij's help : turns out that Sage's
example of a free algebra was not a free algebra (see [1]).
The second one has been fixed by building manually an element of a Shuffle
Algebra instead of relying on `an_element()`, which always returns 0.
Patch updated (and rebased)
Nathann
[1] https://groups.google.com/d/topic/sage-combinat-
devel/zdN44XJZu5s/discussion
--
Ticket URL: <http://trac.sagemath.org/ticket/12867#comment:8>
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/groups/opt_out.