Update zdot.c
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Mon, 13 Mar 2017 16:49:07 +0000 (17:49 +0100)
committerGitHub <noreply@github.com>
Mon, 13 Mar 2017 16:49:07 +0000 (17:49 +0100)
interface/zdot.c

index 4f83187..7eb8371 100644 (file)
@@ -160,7 +160,7 @@ OPENBLAS_COMPLEX_FLOAT CNAME(blasint n, FLOAT *x, blasint incx, FLOAT *y, blasin
 
   if (n <= 0) {
 #ifdef FORCE_USE_STACK
-    *result = OPENBLAS_MAKE_COMPLEX_FLOAT(0.0, 0.0);
+    *result = zero;
 //     CREAL(*result) = 0.0;
 //     CIMAG(*result) = 0.0;
     return;