Skip to content

Commit

Permalink
Added the graph as an argument
Browse files Browse the repository at this point in the history
Signed-off-by: Aryan Roy <[email protected]>
  • Loading branch information
aryan26roy committed Jun 15, 2024
1 parent f2157ad commit 0857cd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dowhy/causal_identifier/complete_adjustment.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def adjustable(self, G):
return True

def _is_amenable(self):
dp = self._graph.directed_paths(self._X, self._Y)
dp = self._graph.directed_paths(self._graph, self._X, self._Y)
pdp = pywhy_graphs.possibly_directed_paths(self._graph, dp)
ppdp = pywhy_graphs.proper_paths(self._graph, pdp)
visible_edges = frozenset(pywhy_graphs.get_visible_edges(self._graph, self._X))
Expand Down

0 comments on commit 0857cd2

Please sign in to comment.