simplify=True does not work because class Edge does not provide an
appropriate __hash__ function, so that the test
if self.obj_dict.get('simplify', False) and edge in edges_done:
continue
tests only for reference identify.
This patch helps:
836a835,836
> def __hash__(self):
> return hash(self.get_source()+self.get_destination())
1457,1458c1457,1458
<
< if self.obj_dict.get('simplify', False) and elm in
edges_done:
---
>
> if self.obj_dict.get('simplify', False) and edge in
edges_done:
Original issue reported on code.google.com by willi.ri...@gmail.com on 17 Feb 2009 at 10:05
Original issue reported on code.google.com by
willi.ri...@gmail.com
on 17 Feb 2009 at 10:05