for i in [3,2,1,0]: print Posets.BooleanLattice(i)
prints
Finite lattice containing 8 elements
Finite lattice containing 4 elements
Finite lattice containing 1 elements
Traceback (click to the left of this block for traceback)
It sounds natural to have BooleanLattice(0) be 1-element lattice, but is
it normal mathematical definition? And to check, shouldn't
BooleanLattice(2) return the 2-element chain?
Btw, Posets.BooleanLattice('cat-says-meow') says "unsupported operand
type(s) for ** or pow(): 'int' and 'str'"... I have already open a ticket
for this.
--
Jori Mäntysalo
--
You received this message because you are subscribed to the Google Groups
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.