Skip to content

Commit fa606f3

Browse files
committed
fixed doc test in database.findstat by adding new collection
1 parent e249bef commit fa606f3

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/sage/databases/findstat.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4318,6 +4318,7 @@ def in_range(self, element):
43184318
Cc0027: Signed permutations 4282 True
43194319
Cc0028: Skew partitions 1250 True
43204320
Cc0029: Lattices 1378 True
4321+
Cc0030: Ordered set partitions 5316 True
43214322
"""
43224323
return self._data["Code"].element_level(element) in self._data["LevelsWithSizes"]
43234324

@@ -4711,7 +4712,8 @@ class FindStatCollections(UniqueRepresentation, Parent):
47114712
Cc0026: Decorated permutations,
47124713
Cc0027: Signed permutations,
47134714
Cc0028: Skew partitions,
4714-
Cc0029: Lattices]
4715+
Cc0029: Lattices,
4716+
Cc0030: Ordered set partitions]
47154717
"""
47164718
def __init__(self):
47174719
"""
@@ -4787,7 +4789,8 @@ def _element_constructor_(self, entry):
47874789
Cc0026: Decorated permutations,
47884790
Cc0027: Signed permutations,
47894791
Cc0028: Skew partitions,
4790-
Cc0029: Lattices]
4792+
Cc0029: Lattices,
4793+
Cc0030: Ordered set partitions]
47914794
47924795
sage: FindStatCollection(Permutation([1,2,3])) # optional -- internet
47934796
Cc0001: Permutations

0 commit comments

Comments
 (0)