Hi,

I'm relative new to the igraph lib and encounters a weird problem. The
problem is boiled down like this:

given following code snippet
"""
# initialize a graph with postive attribute "imp_tt"
for i in range(1000):
    sp = graph.shortest_paths(sidx, tidx, weights="imp_tt")[0][0]
"""
for a small graph of 1000+ vertices, this code snippet works perfectly.
But for a bigger graph of 10000+ vertices the code crash with
"""
python: igraph_error.c:173: IGRAPH_FINALLY_REAL: Assertion `no<100' failed.
Aborted
"""
after about 100 iterations.

However if I delete the weights="imp_tt" part it works again.

I searched the archive and get a sense that it involves a stack not get
released. But then why it doesn't need to be explicitly released for the
small graph?

Any Ideas what's going wrong?

Best Regards,
Yaohua Xiong

-- 
M.Sc. Engg Yaohua Xiong

Universität Stuttgart
Lehrstuhl für Verkehrsplanung und Verkehrsleittechnik
_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help

Reply via email to