I am sorry for the typo. ig is actually igraph- The corrected code snippet is:
# A new class graph that extends Graph class MyGraph (igraph.Graph): def __init__(self, directed=True): igraph.Graph.__init__(self, directed=directed)
# Module B g = MyGraph() print g
I am going to run valgrind as well.
Thank very much
I am sorry for the typo. ig is actually igraph- The corrected code snippet is:
# A new class graph that extends Graph
igraph. Graph._ _init__ (self, directed=directed)
class MyGraph (igraph.Graph):
def __init__(self, directed=True):
# Module B
g = MyGraph()
print g
I am going to run valgrind as well.
Thank very much