We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 861093d commit b06630dCopy full SHA for b06630d
src/sage/combinat/posets/hasse_diagram.py
@@ -443,8 +443,7 @@ def bottom(self) -> int | None:
443
next(min_elms)
444
except StopIteration:
445
return bottom
446
- else:
447
- return None
+ return None
448
449
def has_bottom(self) -> bool:
450
"""
@@ -482,8 +481,7 @@ def top(self) -> int | None:
482
481
next(max_elms)
483
484
return top
485
486
487
488
def has_top(self) -> bool:
489
0 commit comments