Creating multiple graphs in a loop, I get a segmentation fault on mac os x
(using macports version) after 6 iterations. Example code to replicate bug
import numpy as np
import graph_tool as gt
for i in xrange(255):
edges = np.random.random_integers(0, 20, (2,20))
g = gt.Graph()
g.add_edge_list(edges)
print i
Any ideas what might be causing this?
Thanks
--
View this message in context:
http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/Segmentation-fault-with-multiple-graphs-tp4025724.html
Sent from the Main discussion list for the graph-tool project mailing list
archive at Nabble.com.
_______________________________________________
graph-tool mailing list
[email protected]
http://lists.skewed.de/mailman/listinfo/graph-tool