Skip to content

Commit dca133a

Browse files
committed
better doctest
1 parent 7b413c7 commit dca133a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sage/categories/coxeter_groups.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1578,9 +1578,9 @@ def is_fully_commutative(self) -> bool:
15781578
15791579
TESTS::
15801580
1581-
sage: W = CoxeterGroup(['A', 2], index_set=['u','v'])
1581+
sage: W = CoxeterGroup(matrix(2,2,[1,7,7,1]),index_set='ab')
15821582
sage: len([1 for w in W if w.is_fully_commutative()])
1583-
5
1583+
13
15841584
"""
15851585
word = self.reduced_word()
15861586
from sage.combinat.root_system.braid_orbit import is_fully_commutative as is_fully_comm

0 commit comments

Comments
 (0)