[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
## Re: [igraph] matrix problem

**From**: |
Gábor Csárdi |

**Subject**: |
Re: [igraph] matrix problem |

**Date**: |
Mon, 11 Oct 2010 22:31:19 +0200 |

Hi,
On Mon, Oct 11, 2010 at 10:22 PM, Guilherme Ferraz de Arruda
<address@hidden> 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?*
we cannot tell, unless you send us some self-contained code example
that reproduces your problem.
The error is not in the matrix_init line, but somewhere else.
Gabor
>* 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*
>
--
Gabor Csardi <address@hidden> UNIL DGM