[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[igraph] Help with the igraph_diameter(...)
From: |
Richard Geddes |
Subject: |
[igraph] Help with the igraph_diameter(...) |
Date: |
Tue, 29 Jan 2008 16:06:47 -0500 |
User-agent: |
Thunderbird 2.0.0.6 (X11/20071022) |
Hi,
I'm trying to get the path for the diameter of a graph and get segfault
errors when I use the following
---
igraph_t graph;
igraph_integer_t diam, pfrom, pto;
igraph_vector_t* path;
igraph_diameter(&graph, &diam, &pfrom, &pto, path, false, true);
---
however if I use:
igraph_diameter(&graph, &diam, &pfrom, &pto, NULL, false, true);
the execution is normal
the docs say to use an uninitialized vector pointer for path. Did I
miss something?
using the latest development version of igraph.
Richard
- [igraph] Help with the igraph_diameter(...),
Richard Geddes <=