fix zdotu result on windows
This commit is contained in:
parent
f0560f906f
commit
172bd00748
|
@ -74,7 +74,11 @@ static void matrix_vector_product(blasint n, blasint m, blasint lda, blasint inc
|
|||
|
||||
for (i = 0; i < n * inc_x; i += inc_x)
|
||||
{
|
||||
#ifdef RETURN_BY_STACK
|
||||
BLASFUNC(zdotu)(result,&lda, a_ptr, &one, x_ptr, &inc_x);
|
||||
#else
|
||||
result = BLASFUNC(zdotu)(&lda, a_ptr, &one, x_ptr, &inc_x);
|
||||
#endif
|
||||
x_res[0] = CREAL(result);
|
||||
x_res[1] = CIMAG(result);
|
||||
a_ptr += lda * 2;
|
||||
|
|
Loading…
Reference in New Issue