#18634: bug in WeylGroups.ElementMethods.reflection_to_root
-----------------------------+----------------------------
Reporter: stumpc5 | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-6.8
Component: combinatorics | Keywords:
Merged in: | Authors:
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
-----------------------------+----------------------------
The method has the doctest
{{{
sage: W=WeylGroup(['C',2],prefix="s")
sage: r=W.from_reduced_word([1,2,1])
sage: r.reflection_to_root()
2*alpha[1] + alpha[2]
sage: r=W.from_reduced_word([1,2])
sage: r.reflection_to_root()
Traceback (most recent call last):
...
ValueError: s1*s2 is not a reflection
}}}
but if I try W.w0 instead, it runs into an infinite loop.
--
Ticket URL: <http://trac.sagemath.org/ticket/18634>
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.