Skip to content

Segmentation fault error adding 3 vertices #3

@lucaparmigiani

Description

@lucaparmigiani

This works as intedeed

from graph_tool.all import *

g = Graph()
g.add_vertex()
g.add_vertex()
graph_draw(g)

But this doesn't

from graph_tool.all import *

g = Graph()
g.add_vertex()
g.add_vertex()
g.add_vertex()
graph_draw(g)
[1]    4657 segmentation fault (core dumped)  python3 x.py

The segmentation fault appears also if I do
g.add_vertex(3) and then plot with graph_draw.
But works with g.add_vertex(5) (also using 4 cause it to seg fault).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions