Is this a feature or a bug?

a = Poset({1:[]})
b = LatticePoset({1:[]})
c1 = Poset(b)
c2 = Poset(b.hasse_diagram())
a==c1, a==c2

outputs False, True. But this is quite a surprise for a user.

--
Jori Mäntysalo

Reply via email to