Segmentation fault when calculating eigenvector centrality
Bug #739954 reported by
Amy Yu
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
igraph |
Fix Released
|
High
|
Tamás Nepusz |
Bug Description
Python 2.6.5 (r265:79063, Apr 16 2010, 13:57:41)
In [1]: import igraph
In [2]: g = igraph.
In [3]: g.eigenvector_
Segmentation fault (core dumped)
I get a segmentation fault error whenever I attempt to calculate eigenvector centrality using igraph. I am using version 0.5.4.
Changed in igraph: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
What OS are you using and how did you install igraph? The reason why I am asking is because it works for me with igraph 0.5.4 (compiled fresh from the source code):
tamas@keszeg: ~/bzr/igraph/ 0.5-main/ build $ igraph
No configuration file, using defaults
igraph 0.5.4 running inside Python 2.6.6 (r266:84292, Sep 15 2010, 16:22:56)
Type "copyright", "credits" or "license" for more information.
IPython 0.10 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object'. ?object also works, ?? prints more.
In [1]: g=Graph([(0,1), (0,2), (2,3), (3,4), (4,2), (2,5), (5,0), (6,3), (5,6)]) centrality( ) 79996, 02616, 97364, 6773, 25164, 22562]
In [2]: g.eigenvector_
Out[2]:
[0.711199545010
0.248601122036
1.0,
0.751398877963
0.612204731075
0.786002699061
0.537401577025