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!



Von: Tiago de Paula Peixoto <tiago@skewed.de>
Gesendet: Donnerstag, 11. November 2021 11:05
An: graph-tool@skewed.de
Betreff: [graph-tool] Re: Core dump
 
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 <tiago@skewed.de>
_______________________________________________
graph-tool mailing list -- graph-tool@skewed.de
To unsubscribe send an email to graph-tool-leave@skewed.de