igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] a problem with simplify()


From: Tamas Nepusz
Subject: Re: [igraph] a problem with simplify()
Date: Thu, 21 Oct 2010 18:04:32 +0100

> I am on 0.6 right now. thanks I'll use the workaround, I just need to kill 
> loops. Is there any better way to do this than:
Definitely, because your code does not take into account that edges are 
reindexed after every deletion. I'd go for delete.edges(g, seq(0, 
ecount(g)-1)[is.loop(g)])

-- 
T.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]