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

Commit 5fc39b0

Browse files
committed
Minor correction.
1 parent 07ea77d commit 5fc39b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sage/combinat/posets/poset_examples.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ def RandomLattice(n, p, properties=None):
675675
return LatticePoset(D, cover_relations=True)
676676

677677
if isinstance(properties, basestring):
678-
properties = [properties]
678+
properties = set([properties])
679679
else:
680680
properties = set(properties)
681681

0 commit comments

Comments
 (0)