I'm using itpp 3.10.1 with ACML 3.1.0 under both
Windows (mingw) and Linux (Fedora Core 4) and I'm
having problems in using COMPLEX-valued dot products,
although REAL-valued dot products works fine.
For example, the following code
vec vr = "1 2";
double r = dot(vr,vr);
gives me r=5, which is ok!
But, this code
cvec v = "1 2";
complex<double> c = dot(v,v);
returns c=0+0i !??!!!
I've attached a simple program which reproduces this
bug. The output of this program in my both systems is:
Log in to post a comment.