[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] matrix problem
From: |
Tamas Nepusz |
Subject: |
Re: [igraph] matrix problem |
Date: |
Mon, 11 Oct 2010 21:25:54 +0100 |
Dear Guilherme,
Please send a short, self-contained example with which we can reproduce the
problem. There seems to be nothing wrong with your code at first glance, but
since we don't know what "dados" is and what's in there, we can't really
determine what is causing the problem.
--
Tamas
On 11 Oct 2010, at 21:22, Guilherme Ferraz de Arruda wrote:
> Hi,
> I have used:
>
> igraph_matrix_t w_adj;
> igraph_matrix_init(&w_adj, (long int)dados->i, (long int)dados->i);
>
> where dados->i = 151.
>
> But i got Segmentation Fault.
> What is wrong?
>
> i tried to use
> igraph_matrix_init(&w_adj, 151, 151);
>
> and got the same error.
>
> What is wrong?
> it seens to be so simple to have an erros, but i got this error at
> this line by debugging.
>
> Thanks for all.
>
> Guilherme.
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/igraph-help
Re: [igraph] matrix problem, Gábor Csárdi, 2010/10/11