Boost logo

Ublas :

From: dvir schirman (dvir.boost_at_[hidden])
Date: 2006-06-06 10:01:57


 I see I didnt make myself clear.

I wrote:
boost::numeric::ublas::vector a;

at my header file.

and wrote:
a.resize(3);

at my implementation file.
So, as I see it, it should work this way.

On 6/6/06, Riccardo Rossi <rrossi_at_[hidden]> wrote:
>
> 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
> > ublas_at_[hidden]
> > http://lists.boost.org/mailman/listinfo.cgi/ublas
>
> _______________________________________________
> ublas mailing list
> ublas_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/ublas
>