Repeat calls to community_leading_eigenvector cause "Unknown ARPACK error" for some graphs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
igraph |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Code worked fine for the past few weeks running on Launchpad trunk from a month or two ago.
Updated today and the following example now crashes.
>> g=igraph.Graph([(2, 0), (3, 0), (4, 1), (4, 1), (5, 2), (6, 4), (7, 5), (7, 4), (8, 4), (8, 4), (9, 4), (9, 0), (10, 2), (11, 7), (12, 0), (13, 8), (13, 9), (13, 8), (15, 6), (16, 9), (16, 2), (16, 3), (17, 0), (17, 8), (17, 2), (17, 14), (18, 15)
In [24]: g.community_
Out[24]: <igraph.
In [25]: g.community_
-------
InternalError Traceback (most recent call last)
/home/mjbommar/
/usr/lib/
538 eigenvectors of matrices, arXiv:physics/
539 if clusters is None: clusters=-1
--> 540 cl, merges = GraphBase.
541 if merges is None:
542 return VertexClusterin
InternalError: Error at community.c:1184: , Unknown ARPACK error
Code didn't copy right...I'm attaching a script.
Note that even simplify()'ing the graph still produces the error.