Skip to content

Commit

Permalink
Merge pull request #220 from EvieQ01/main
Browse files Browse the repository at this point in the history
Fix bug: node A and C should not be the same node
  • Loading branch information
kunwuz authored Feb 6, 2025
2 parents 9dc0365 + 165ed2d commit 2eab72e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion causallearn/search/ConstraintBased/FCI.py
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ def ruleR7(graph: Graph, changeFlag: bool,
for node_C in intoBCircles:
# pdb.set_trace()
for node_A in node_A_list:
# pdb.set_trace()
if node_A == node_C: continue
if not graph.is_adjacent_to(node_A, node_C):
changeFlag = True
edge = graph.get_edge(node_B, node_C)
Expand Down

0 comments on commit 2eab72e

Please sign in to comment.