We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ca15ff commit 5e03941Copy full SHA for 5e03941
causallearn/graph/Endpoint.py
@@ -20,4 +20,4 @@ def __str__(self):
20
return self.name
21
22
def __eq__(self, other):
23
- return self.value == other.value
+ return isinstance(other, Endpoint) and self.value == other.value
0 commit comments