|
Ublas : |
Subject: Re: [ublas] Accumulators with vectors
From: Tim Odenthal (Tim.Odenthal_at_[hidden])
Date: 2010-12-01 12:06:16
On Wednesday 01 December 2010 18:00:10 Rafael Calsaverini wrote:
[...]
> ublas::vector<double> x(3), y(3), z(3);
>
> x[0] = 1; x[1] = 1; x[2] = 1;
> x[0] = 1; x[1] = 1; x[2] = 2;
> x[0] = 2; x[1] = 1; x[2] = 1;
[...]
I really don't know about basic problems, but I hope you initialized y and z
in your real code?
Have a nice day
Tim