Boost logo

Boost Users :

From: Joerg Walter (jhr.walter_at_[hidden])
Date: 2003-10-28 15:58:01


Hi,

> I'm using Boost v1.30.2, Windows XP Pro, MS Visual C++ v7.1. I get a
compilation error when > I try to do something like this:
>
>
> typedef ublas::vector<double> Vector;
>
> Vector a(3);
> Vector c(3);
>
> a[0] = 1.0;
> a[1] = 2.0;
> a[2] = 3.0;
>
> c = a * 100.0; // trouble maker

I checked your sample with the CVS version and GCC 3.3.2: works for me. This
could be a MSVC 7.1 specific problem of 1.30.2.

[snip suspicious compiler diagnostics]

> I can perform other matrix and vector operations. I just get errors when I
try to do scalar
> multiplies and divides.

I'm unsure, if it is worth the effort to try to fix this (Boost 1.31 release
is scheduled for November). Would you like to check out a newer version from
http://groups.yahoo.com/group/ublas-dev ?

Thanks,
Joerg


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net