Am 11.11.21 um 03:03 schrieb Eli Draizen:
Hi everyone,
I was wondering if it would be possible to provide some more examples of
how to run a nested mixed membership SBM with edge weights. The new
version seems to have removed the "overlap=True" option for state_args
in the minimize_* function
Hi together,
I have an algorithm whose results incl. the graph I save to disk at the end.
When I load it again, on some vertices, shortest_distance() crashes python:
```
munmap_chunk(): invalid pointer
Aborted (core dumped)
```
Any ideas on how I can debug this?
All the property maps are int
Am 11.11.21 um 10:47 schrieb Monecke, Stephan:
Any ideas on how I can debug this?
Yes: try to isolate the problem by constructing a minimal,
self-contained program that reproduces the crash.
--
Tiago de Paula Peixoto
___
graph-tool mailing list -
I bisected manually until I found the problem: shortest_path() segfaults when
the vertex is not present.
- - MWE - -
import graph_tool.all as gt
gt.shortest_path(gt.Graph(), 1, 2)
Segmentation fault (core dumped)
- - o - -
I wrote a ticket for that.
Thanks for your help!