On Mon, Jul 30, 2012 at 9:06 PM, Gábor Csárdi <[email protected]> wrote:
> On Mon, Jul 30, 2012 at 6:49 PM, Nils Schweinsberg <[email protected]> wrote:
>> Am 31.07.2012 00:40, schrieb Gábor Csárdi:
>>> You should be able to set them to NULL. What kind of errors are you getting?
>>
>> The only error message I get is "Command terminated".
>
> This is not an igraph error message. I guess this is a message from
> the windows cmd terminal, or something similar. Start your program
> from within a terminal and then maybe you'll see the actual igraph
> error message. But my guess might be wrong.
>
> Gabor

Apologies, I was actually wrong, you need to provide all functions in
the attribute handling table.
This is not what I remembered, but I have just checked the code.

Actually, most functions you'll have to provide, otherwise the
handling of attributes will simply not work. You are right that some
functions could be optional.

Best,
Gabor

>> I use the
>> following C functions to create an attribute table and set the
>> permute_vertices attribute:
>>
>>   igraph_attribute_table_t* create_attribute_table()
>>   {
>>       igraph_attribute_table_t* t = (igraph_attribute_table_t*)
>> calloc(1, sizeof(igraph_attribute_table_t));
>>       return t;
>>   }
>>
>> I then call this function and igraph_i_set_attribute_table from Haskell
>> and get the above error as soon as I try to run my igraph_subgraph function.
>>
>> _______________________________________________
>> igraph-help mailing list
>> [email protected]
>> https://lists.nongnu.org/mailman/listinfo/igraph-help
>
>
>
> --
> Gabor Csardi <[email protected]>     MTA KFKI RMKI



-- 
Gabor Csardi <[email protected]>     MTA KFKI RMKI

_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help

Reply via email to