Skip to content

Commit 70d4ef1

Browse files
fchapotontscrim
andauthored
Update src/sage/combinat/posets/lattices.py
Co-authored-by: Travis Scrimshaw <[email protected]>
1 parent e4aa9d4 commit 70d4ef1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/sage/combinat/posets/lattices.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -734,6 +734,7 @@ def LatticePoset(data=None, *args, **options):
734734
error.x = P._vertex_to_element(error.x)
735735
error.y = P._vertex_to_element(error.y)
736736
raise
737+
from sage.categories.posets import Posets
737738
cat = Posets().or_subcategory(options.get('category', None))
738739
cat = cat & FiniteLatticePosets()
739740
return FiniteLatticePoset(P, category=cat, facade=P._is_facade)

0 commit comments

Comments
 (0)