Boost logo

Ublas :

Subject: Re: [ublas] fixed size vector in boost::numeric::ublas?
From: Markus Grabner (grabner_at_[hidden])
Date: 2010-08-02 19:12:52

Nasos Iliopoulos wrote:

> Markus,As for the unit tests: I would certainly like to write unit tests
> for fixed_vector, but when running "bjam"
> in, I get
> several compilation errors. Is gcc-4.5 supposed to work with these tests,
> or shall the tests be launched differently?

> If for some reason bjam is not
> working, just make a unit test file using your compiler.
It doesn't seem to be an issue with bjam, but with the compiler itself (bjam
actually invokes the default compiler, which is gcc-4.5 on my system). I
attach the compile log (for libs/numeric/ublas/test in boost-1.43.0) for
those who are able to interpret this stuff...

> I think it does
> not make any important difference for the maintainers (right?). For the
> unit test I'd suggest using the test libary as in those (maybe we will
> need to move to boost.test someday
> though):
Ok, I'll just try to omit those files which have compiler errors, and add
some tests to the remaining ones. Probably for each test of bounded_vector
there should be a similar one for fixed_vector.

        Thanks & kind regards,

Markus Grabner
Institute for Computer Graphics and Vision
Graz University of Technology, Inffeldgasse 16a/II, 8010 Graz, Austria