Skip to content

Commit 5e0d8e6

Browse files
committed
Pylint
1 parent 64596f6 commit 5e0d8e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

causal_testing/specification/causal_dag.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def list_all_min_sep(
9595
remaining = neighbour_nodes - outcome_node_set
9696
if remaining:
9797
# 6.1. If so, sample a random node from the set of treatment nodes' neighbours not in the outcome node set
98-
chosen = {next(iter(remaining))}
98+
chosen = {remaining.pop()}
9999
# 6.2. Add this node to the treatment node set and recurse (left branch)
100100
yield from list_all_min_sep(
101101
graph,

0 commit comments

Comments
 (0)