Skip to content

Commit 0ae3dfa

Browse files
committed
fixed endpoint comparison bug (compare int value)
Signed-off-by: Haoyue Dai <[email protected]>
1 parent c3d23e5 commit 0ae3dfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

causallearn/graph/Endpoint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ def __str__(self):
2020
return self.name
2121

2222
def __eq__(self, other):
23-
return self.name == other.name
23+
return self.value == other.value

0 commit comments

Comments
 (0)