José De Miguel

Results 2 issues of José De Miguel

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.

### 🐛 Bug: Wrong expected degree in `init_dag` for `dag_type='erdos'` In `init_dag`, we currently have: ```python elif self.dag_type == 'erdos': nb_edges = self.expected_degree * self.nodes ``` However, it should be:...