On Thu, 12 Nov 2015, Daniel Krenn wrote:
True. Does this mean that you want to use x and y in the calling function (e.g. catch the exception there and raise a different exception explaining what is going on using x and y)?
Exactly that. Posets are, shortly said, a digraph with integers as vertices and a dictionary mapping them to elements. hasse_diagram.py might raise error if 7 and 13 has no meet, and I want to see that elements 'c' and 'r' has no meet.
(Worst case is when elements are integers, but in different order.) Volker Braun:
The HasseDiagram.meet_matrix already raises if there is no bottom, no need to check that again at every step.
True. But I guess that it is nice to show right error also then. I'll try to do that without re-checking.
-- Jori Mäntysalo