Dear all,
I'm currently using C-igraph to study users surfing specific networks. I
use some attributes to identify the nodes of my networks. An igraph_t
variable is a protected data member of a particular class. Trying to set
the attributes (with functions like SETVAB, SETVAN) in one constructor of
the class, I get a segmentation fault.
I put "igraph_i_set_attribute_table(&igraph_cattribute_table);" at the
beginnig of the main.
If I try to set attributes to an igraph_t variable in the main (and not to
a igraph_t datamember of a class) everything's ok.
What is wrong with setting atributes of a graph in the constructor of a
class?

Thank you in advance
Giovanni Paleari
_______________________________________________
igraph-help mailing list
igraph-help@nongnu.org
https://lists.nongnu.org/mailman/listinfo/igraph-help

Reply via email to