I tried to run a program which uses ublas library and when I run it I got:
"Segmentation fault (core dumped)"
I used ddd to debug it and I saw that the program failes when trying to do:
"ublas::vector.resize(3)"
Can you tell me what am I doing wrong?
I'm using Cygwin g++ 3.4.4
Thanks for your help.
Dvir
Segmentation fault (core dumped)
2006-06-06 13:36:09
hi,
try
ublas::vector a;
a.resize(3);
greetings
Riccardo
On Tue, 2006-06-06 at 15:09 +0300, dvir schirman wrote:
> Hi
>
> I tried to run a program which uses ublas library and
when I run it I
> got:
>
> "Segmentation fault (core dumped)"
>
> I used ddd to debug it and I saw that the program
failes when trying
> to do:
>
> "ublas::vector.resize(3)"
>
> Can you tell me what am I doing wrong?
> I'm using Cygwin g++ 3.4.4
>
> Thanks for your help.
> Dvir
>
> _______________________________________________
> ublas mailing list
> ublaslists.boost.org
> htt
p://lists.boost.org/mailman/listinfo.cgi/ublas
_______________________________________________
ublas mailing list
ublaslists.boost.org
htt
p://lists.boost.org/mailman/listinfo.cgi/ublas
On Tue, 2006-06-06 at 15:09 +0300, dvir schirman wrote:
> Hi > > I tried to run a program which uses ublas library and when I run it I > got: > > "Segmentation fault (core dumped)" > > I used ddd to debug it and I saw that the program failes when trying
> to do: > > "ublas::vector.resize(3)" > > Can you tell me what am I doing wrong? > I'm using Cygwin g++ 3.4.4 > > Thanks for your help. > Dvir >
> _______________________________________________ > ublas mailing list > lists.boost.org">ublaslists.boost.org >
http://lists.boost.org/mailman/listinfo.cgi/ublas
On Tue, 2006-06-06 at 15:09 +0300, dvir schirman wrote:
> Hi > > I tried to run a program which uses ublas library and when I run it I > got: > > "Segmentation fault (core dumped)" > > I used ddd to debug it and I saw that the program failes when trying
> to do: > > "ublas::vector.resize(3)" > > Can you tell me what am I doing wrong? > I'm using Cygwin g++ 3.4.4 > > Thanks for your help. > Dvir >
> _______________________________________________ > ublas mailing list > lists.boost.org">ublaslists.boost.org >
http://lists.boost.org/mailman/listinfo.cgi/ublas