igraph-help
[Top][All Lists]
Advanced

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

[igraph] community_fastgreedy() requires integers as edge weights?


From: Kurt J
Subject: [igraph] community_fastgreedy() requires integers as edge weights?
Date: Wed, 9 Apr 2008 14:32:34 +0100

Hi All,

Using the fastgreedy community detection with edge weights i get the following error:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "graphmeasures.py", line 226, in getCom
    vcG = G.community_leading_eigenvector()
  File "build/bdist.macosx-10.3-fat/egg/igraph/__init__.py", line 437, in community_fastgreedy
TypeError: sequence elements must be integers

If i understand the algorithm, it should be quite happy with floats.  Am I wrong? Is this a bug?

-Kurt J

reply via email to

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