Skip to content
  • Tiago Peixoto's avatar
    Fix bug in random_rewire() with undirected graphs · c72e48d5
    Tiago Peixoto authored
    When using undirected graphs, the implicit direction of each edge was
    not properly handled, and the correlated case would not work. Now, in
    this case, the direction is always checked, and the edge is inverted if
    necessary.
    c72e48d5