Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
added some missing optional gap3
Browse files Browse the repository at this point in the history
  • Loading branch information
stumpc5 committed Apr 15, 2016
1 parent 1537a79 commit a60cf31
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -694,10 +694,10 @@ def from_reduced_word(self, word, word_type='simple'):
sage: W.from_reduced_word([1,2,3], word_type='all').reduced_word() # optional - gap3
[1, 2, 3]
sage: W.from_reduced_word([1,2,3], word_type='all').reduced_word_in_reflections()
sage: W.from_reduced_word([1,2,3], word_type='all').reduced_word_in_reflections() # optional - gap3
[1, 2, 3]
sage: W.from_reduced_word([1,2,3]).reduced_word_in_reflections()
sage: W.from_reduced_word([1,2,3]).reduced_word_in_reflections() # optional - gap3
[1, 2, 3]
TESTS::
Expand Down Expand Up @@ -1031,9 +1031,9 @@ def apply_reflections(self, word, side='right', word_type='all'):
sage: W = ReflectionGroup((1,1,3)) # optional - gap3
sage: W.one().apply_reflections([1]) # optional - gap3
(1,4)(2,3)(5,6)
sage: W.one().apply_reflections([2])
sage: W.one().apply_reflections([2]) # optional - gap3
(1,3)(2,5)(4,6)
sage: W.one().apply_reflections([2,1])
sage: W.one().apply_reflections([2,1]) # optional - gap3
(1,2,6)(3,4,5)
Expand All @@ -1051,11 +1051,11 @@ def apply_reflections(self, word, side='right', word_type='all'):
sage: W = ReflectionGroup((1,1,3)) # optional - gap3
sage: W.one().apply_reflections([1], word_type='distinguished') # optional - gap3
(1,4)(2,3)(5,6)
sage: W.one().apply_reflections([2], word_type='distinguished')
sage: W.one().apply_reflections([2], word_type='distinguished') # optional - gap3
(1,3)(2,5)(4,6)
sage: W.one().apply_reflections([3], word_type='distinguished')
sage: W.one().apply_reflections([3], word_type='distinguished') # optional - gap3
(1,5)(2,4)(3,6)
sage: W.one().apply_reflections([2,1], word_type='distinguished')
sage: W.one().apply_reflections([2,1], word_type='distinguished') # optional - gap3
(1,2,6)(3,4,5)
sage: W = ReflectionGroup((1,1,3), hyperplane_index_set=['A','B','C']); W # optional - gap3
Expand Down
4 changes: 2 additions & 2 deletions src/sage/categories/finite_complex_reflection_groups.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def _test_degrees(self, **options):
sage: from sage.categories.complex_reflection_groups import ComplexReflectionGroups
sage: W = ComplexReflectionGroups().Finite().example(); W # optional - gap3
Reducible real reflection group of rank 4 and type A2 x B2
sage: W._test_degrees()
sage: W._test_degrees() # optional - gap3
sage: W = SymmetricGroup(5)
sage: W._test_degrees()
Expand Down Expand Up @@ -248,7 +248,7 @@ def _test_codegrees(self, **options):
sage: from sage.categories.complex_reflection_groups import ComplexReflectionGroups
sage: W = ComplexReflectionGroups().Finite().example(); W # optional - gap3
Reducible real reflection group of rank 4 and type A2 x B2
sage: W._test_codegrees()
sage: W._test_codegrees() # optional - gap3
sage: W = SymmetricGroup(5)
sage: W._test_codegrees()
Expand Down
2 changes: 1 addition & 1 deletion src/sage/combinat/root_system/reflection_group_real.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ def __init__(self, W_types, index_set=None, hyperplane_index_set=None, reflectio
TESTS::
sage: W = ReflectionGroup(['A',3]) # optional - gap3
sage: TestSuite(W).run()
sage: TestSuite(W).run() # optional - gap3
"""
W_types = tuple([tuple(W_type) if isinstance(W_type, (list,tuple)) else W_type
for W_type in W_types])
Expand Down

0 comments on commit a60cf31

Please sign in to comment.