Skip to content

Commit

Permalink
Update pywhy_graphs/algorithms/generic.py
Browse files Browse the repository at this point in the history
Co-authored-by: Adam Li <[email protected]>
Signed-off-by: Aryan Roy <[email protected]>
  • Loading branch information
aryan26roy and adam2392 authored Sep 23, 2023
1 parent 4daf699 commit 822e355
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pywhy_graphs/algorithms/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -711,6 +711,7 @@ def valid_mag(G: ADMG, L: set = None, S: set = None):

def dag_to_mag(G, L: Set = None, S: Set = None):
"""Converts a DAG to a valid MAG.
The algorithm is defined in :footcite:`Zhang2008` on page 1877.
Parameters:
Expand Down

0 comments on commit 822e355

Please sign in to comment.