Problem with memory allocation in UBLAS matrix and vector
Hello,
Here is the problem I am having:
In the following code (tried to keep it as short as possible), I
create a vector [vec1] and a matrix [mat1] in the respective test
functions. Then, I create [vec2] and [mat2] in main, but when I print
them they have the values of [vec1] and [mat1]. Why is this happening?
I am quite new to boost, so I may miss something quite fundamental. I
really appreciate you help.
System: Fedora Core 4, boost-1.33.1.-5, g++ 4.0.2
Regards,
Vasilios
----------------------------------------------------------------------------------------------------------------------------------------------------------
#include
participants (1)
-
Vasilios Papakos