CausalDiscoveryToolbox
CausalDiscoveryToolbox copied to clipboard
[FIX] Correct expected degree in init_dag for Erdős–Rényi graphs
Divided nb_edges by 2 in init_dag so that the generated Erdős–Rényi DAGs have the correct expected degree. Small consistency fix in graph initialization.