![]() |
Blitz Bugs : |
From: Gerry Wiener (gerry_at_[hidden])
Date: 2003-01-22 17:10:36
I updated from blitz-20001213 to blitz-0.6 and then rewrote the code
as follows:
#include <blitz/array.h>
#include <math.h>
BZ_USING_NAMESPACE(blitz)
int main()
{
Array<double, 1> var(10);
var = 0, 1, 2,
3, 4, 5,
6, 7, 8,
9;
cout << var << endl;
Array<double, 1> sq(10);
sq = sqrt(var);
cout << sq << endl;
return 0;
}
It now compiles and runs under gcc 3.0.4.
This is an adequate workaround for me.
Gerry Wiener Email: gerry_at_[hidden]