|
From: | Tamas Nepusz |
Subject: | Re: [igraph] correction to rewire for undirected graphs |
Date: | Fri, 15 Jun 2007 23:09:27 +0200 |
Hi, You're absolutely right. I've just committed a slightly modified version of your patch to the repository. Thanks! -- T. On 6/15/07, Vincent Matossian <address@hidden> wrote:
Hi, I noticed that igraph_rewire works well for directed graphs but returned an error for undirected ones. The source revealed that the neighbors view is updated only in the case of directed edges, and that was causing the igraph_get_eid to fail finding a random edge, after making a correction such as the one below the problem appears to be gone.
[Prev in Thread] | Current Thread | [Next in Thread] |