Skip to content

Segmentation fault error adding 3 vertices #3

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).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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